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 AbstractDateTypeHandler
DATE_PATTERN, TIME_PATTERNFields inherited from class AbstractTypeHandler
baseHandler, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimebooleanbooleanMethods inherited from class AbstractDateTypeHandler
isFourDigitYearMethods inherited from class AbstractComparableTypeHandler
compareMethods inherited from class AbstractTypeHandler
contains, init, isBoolean, isEqual, isolate, matches, shouldBeUnique, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-