summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api/impl/SimpleValidityRange.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/uic/ticket/api/impl/SimpleValidityRange.java')
-rw-r--r--src/org/uic/ticket/api/impl/SimpleValidityRange.java90
1 files changed, 90 insertions, 0 deletions
diff --git a/src/org/uic/ticket/api/impl/SimpleValidityRange.java b/src/org/uic/ticket/api/impl/SimpleValidityRange.java
new file mode 100644
index 0000000..361a30f
--- /dev/null
+++ b/src/org/uic/ticket/api/impl/SimpleValidityRange.java
@@ -0,0 +1,90 @@
+package org.uic.ticket.api.impl;
+
+import java.util.Date;
+
+import org.uic.ticket.api.spec.IValidityRange;
+
+// TODO: Auto-generated Javadoc
+/**
+ * The Class SimpleValidityRange.
+ */
+public class SimpleValidityRange implements IValidityRange {
+
+ /** The from date. */
+ private Date fromDate;
+
+ /** The until date. */
+ private Date untilDate;
+
+
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IValidityRange#getFromDate()
+ */
+ @Override
+ public Date getFromDate() {
+ return fromDate;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IValidityRange#getUntilDate()
+ */
+ @Override
+ public Date getUntilDate() {
+ return untilDate;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IValidityRange#setFromDate(java.util.Date)
+ */
+ @Override
+ public void setFromDate(Date date) {
+ fromDate = date;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IValidityRange#setUntilDate(java.util.Date)
+ */
+ @Override
+ public void setUntilDate(Date date) {
+ untilDate = date;
+ }
+
+ /** The valid from utc coffset. */
+ protected Long validFromUTCoffset;
+
+ /** The valid until utc coffset. */
+ protected Long validUntilUTCoffset;
+
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IValidityRange#getValidFromUTCoffset()
+ */
+ public Long getValidFromUTCoffset() {
+ return validFromUTCoffset;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IValidityRange#setValidFromUTCoffset(java.lang.Long)
+ */
+ public void setValidFromUTCoffset(Long validFromUTCoffset) {
+ this.validFromUTCoffset = validFromUTCoffset;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IValidityRange#getValidUntilUTCoffset()
+ */
+ public Long getValidUntilUTCoffset() {
+ return validUntilUTCoffset;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.IValidityRange#setValidUntilUTCoffset(java.lang.Long)
+ */
+ public void setValidUntilUTCoffset(Long validUntilUTCoffset) {
+ this.validUntilUTCoffset = validUntilUTCoffset;
+ }
+
+
+
+}