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_PATTERNFields inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
baseHandler, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimebooleanbooleanMethods inherited from class ch.tocco.nice2.types.impl.handlers.AbstractDateTypeHandler
isFourDigitYearMethods inherited from class ch.tocco.nice2.types.spi.AbstractComparableTypeHandler
compareMethods inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
contains, init, isBoolean, isEqual, isolate, matches, shouldBeUnique, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.types.spi.TypeHandler
getGenerationType
-
Constructor Details
-
DateTimeTypeHandler
-
-
Method Details
-
asObject
- Throws:
StringConversionException
-
isNumeric
public boolean isNumeric()- Specified by:
isNumericin interfaceTypeHandler- Overrides:
isNumericin classAbstractDateTypeHandler<org.joda.time.DateTime>- See Also:
-
isChronological
public boolean isChronological()- Specified by:
isChronologicalin interfaceTypeHandler- Overrides:
isChronologicalin classAbstractDateTypeHandler<org.joda.time.DateTime>- See Also:
-
getEmptyValue
- Specified by:
getEmptyValuein interfaceTypeHandler- Overrides:
getEmptyValuein classAbstractDateTypeHandler<org.joda.time.DateTime>- See Also:
-
asString
- Specified by:
asStringin interfaceTypeHandler- Overrides:
asStringin classAbstractTypeHandler
-