|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.DataType
biz.c24.io.api.data.SimpleDataType
biz.c24.io.api.data.AtomicDataType
biz.c24.io.api.data.DateDataType
public abstract class DateDataType
A simple data type representing a Date.
Warning: Serialized objects of this class or of a deployed class which is derived from it may not be compatible with future releases of C24 Integreation Objects. The current serialization support is appropriate for short term storage or RMI between applications running the same version of C24 Integreation Objects.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class biz.c24.io.api.data.AtomicDataType |
---|
AtomicDataType.FinalEnum |
Field Summary |
---|
Fields inherited from class biz.c24.io.api.data.DataType |
---|
duringParsing, hasEnumerations, hasPatternMatching, qualifierValidation |
Method Summary | |
---|---|
abstract Object |
createObject(Date value)
Creates and returns a new date with the specified value. |
abstract Object |
createObject(long value)
Creates and returns a new date with the specified value. |
abstract Object |
createObject(long value,
TimeZone timeZone)
Creates and returns a new date with the specified value. |
int |
getMaxSize()
Returns the maximum allowable size of the value. |
int |
getMinSize()
Returns the minimum allowable size of the value. |
Class |
getValidObjectClass()
Returns the class of valid objects of this type. |
abstract boolean |
isDate()
Returns whether this type allows date components (e.g. yyyy-MM-dd). |
abstract boolean |
isISO8601Based()
|
abstract boolean |
isTime()
Returns whether this type allows time components (e.g. |
Methods inherited from class biz.c24.io.api.data.AtomicDataType |
---|
formatObject, formatObjectOverride, getFinal, getLocale, getPad, getPadAmount, getPadJustification, getWhiteSpace, parseObject, setFinal, setLocale, setPad, setPadAmount, setPadJustification, setWhiteSpace |
Methods inherited from class biz.c24.io.api.data.SimpleDataType |
---|
formatObject, formatObjectExternal, getInstance, getMaxExclusive, getMaxInclusive, getMinExclusive, getMinInclusive, isComplex, isSimple, isSizeFixed, parseObject, parseObjectExternal, setMaxExclusive, setMaxInclusive, setMinExclusive, setMinInclusive, validateProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public abstract boolean isDate()
public abstract boolean isTime()
public abstract Object createObject(Date value)
value
- The value.
public abstract Object createObject(long value)
value
- The value.
public abstract Object createObject(long value, TimeZone timeZone)
value
- The value.timeZone
- The time zone.
public int getMinSize()
SimpleDataType
getMinSize
in class SimpleDataType
public int getMaxSize()
SimpleDataType
getMaxSize
in class SimpleDataType
-1
if the size is unbounded.public Class getValidObjectClass()
DataType
getValidObjectClass
in class SimpleDataType
public abstract boolean isISO8601Based()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |