Class DateTimeTypeHandler
java.lang.Object
ch.tocco.nice2.types.spi.AbstractTypeHandler
ch.tocco.nice2.types.spi.AbstractComparableTypeHandler
ch.tocco.nice2.types.impl.handlers.AbstractDateTypeHandler<org.joda.time.DateTime>
ch.tocco.nice2.types.impl.handlers.DateTimeTypeHandler
- All Implemented Interfaces:
TypeHandler
-
Field Summary
Fields inherited from class ch.tocco.nice2.types.impl.handlers.AbstractDateTypeHandler
DATE_PATTERN, TIME_PATTERN
Fields inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
baseHandler, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
boolean
boolean
Methods inherited from class ch.tocco.nice2.types.impl.handlers.AbstractDateTypeHandler
isFourDigitYear
Methods inherited from class ch.tocco.nice2.types.spi.AbstractComparableTypeHandler
compare
Methods inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
contains, init, isBoolean, isEqual, isolate, matches, shouldBeUnique, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.types.spi.TypeHandler
getGenerationType
-
Constructor Details
-
DateTimeTypeHandler
-
-
Method Details
-
asObject
- Throws:
StringConversionException
-
isNumeric
public boolean isNumeric()- Specified by:
isNumeric
in interfaceTypeHandler
- Overrides:
isNumeric
in classAbstractDateTypeHandler<org.joda.time.DateTime>
- See Also:
-
isChronological
public boolean isChronological()- Specified by:
isChronological
in interfaceTypeHandler
- Overrides:
isChronological
in classAbstractDateTypeHandler<org.joda.time.DateTime>
- See Also:
-
getEmptyValue
- Specified by:
getEmptyValue
in interfaceTypeHandler
- Overrides:
getEmptyValue
in classAbstractDateTypeHandler<org.joda.time.DateTime>
- See Also:
-
asString
- Specified by:
asString
in interfaceTypeHandler
- Overrides:
asString
in classAbstractTypeHandler
-