|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.ISO8601Value
public abstract class ISO8601Value
The abstract class which aggregates the common functionality exhibited by all ISO8601 values.
Field Summary | |
---|---|
protected static Calendar |
CALENDAR
Calendar instance (shared) to be used for date/time calculation with time zones. |
static String |
IO_ISO8601_TIME_ZONE_PRESENT
Deprecated. Use Utils.SYSTEM_PROPERTY_ISO8601_TIME_ZONE_PRESENT instead. |
static String |
IO_ISO8601_TIME_ZONE_ZERO
Deprecated. Use Utils.SYSTEM_PROPERTY_ISO8601_TIME_ZONE_ZERO instead. |
protected static TimeZone |
TIME_ZONE_UTC
UTC time zone instance. |
protected TimeZone |
timeZone
Time zone. |
Constructor Summary | |
---|---|
ISO8601Value()
|
Method Summary | |
---|---|
void |
adjustTimeZone(TimeZone timeZone)
Adjusts this object to the specified time zone. |
protected abstract void |
adjustTimeZoneInternal()
Internal calculations required for adjusting this object to the new time zone value. |
protected static TimeZone |
getDefaultTimeZone()
Returns default time zone. |
TimeZone |
getTimeZone()
Returns time zone of this object. |
protected TimeZone |
getTimeZoneInternal()
Returns time zone of this object. |
protected abstract void |
setInternal(long date)
Sets internal date/time values using date value. |
protected void |
setTimeZone(biz.c24.io.api.data.exolab.castor.types.DateTimeBase dateTimeBase)
Sets the time zone value from the provided date/time object. |
void |
setTimeZone(TimeZone timeZone)
Sets time zone for this object. |
protected void |
setZoneOffsetInternal(biz.c24.io.api.data.exolab.castor.types.DateTimeBase value)
|
abstract Date |
toDate()
Converts this object into a Date . |
abstract long |
toLong()
Converts this object into a long. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
protected static final Calendar CALENDAR
protected static final TimeZone TIME_ZONE_UTC
public static final String IO_ISO8601_TIME_ZONE_PRESENT
Utils.SYSTEM_PROPERTY_ISO8601_TIME_ZONE_PRESENT
instead.
public static final String IO_ISO8601_TIME_ZONE_ZERO
Utils.SYSTEM_PROPERTY_ISO8601_TIME_ZONE_ZERO
instead.
protected TimeZone timeZone
Constructor Detail |
---|
public ISO8601Value()
Method Detail |
---|
public abstract Date toDate()
Date
.
public abstract long toLong()
protected static TimeZone getDefaultTimeZone()
public final void setTimeZone(TimeZone timeZone)
timeZone
- time zone to set for this object, null means no TZprotected abstract void setInternal(long date)
date
- date value to useprotected void setTimeZone(biz.c24.io.api.data.exolab.castor.types.DateTimeBase dateTimeBase)
dateTimeBase
- date/time object to extract time zone fromprotected TimeZone getTimeZoneInternal()
public TimeZone getTimeZone()
public void adjustTimeZone(TimeZone timeZone)
timeZone
- time zone to adjust this object to, null means no TZprotected abstract void adjustTimeZoneInternal()
protected void setZoneOffsetInternal(biz.c24.io.api.data.exolab.castor.types.DateTimeBase value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |