Class AbstractDateTypeHandler<T extends Comparable>
java.lang.Object
ch.tocco.nice2.types.spi.AbstractTypeHandler
ch.tocco.nice2.types.spi.AbstractComparableTypeHandler
ch.tocco.nice2.types.impl.handlers.AbstractDateTypeHandler<T>
- All Implemented Interfaces:
TypeHandler
- Direct Known Subclasses:
DateTimeTypeHandler
,DateTypeHandler
,TimeTypeHandler
public abstract class AbstractDateTypeHandler<T extends Comparable>
extends AbstractComparableTypeHandler
-
Field Summary
Fields inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
baseHandler, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static boolean
isFourDigitYear
(String dateTime) boolean
Methods inherited from class ch.tocco.nice2.types.spi.AbstractComparableTypeHandler
compare
Methods inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
asString, 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
asObject, getGenerationType
-
Field Details
-
DATE_PATTERN
- See Also:
-
TIME_PATTERN
- See Also:
-
-
Constructor Details
-
AbstractDateTypeHandler
public AbstractDateTypeHandler()
-
-
Method Details
-
getEmptyValue
- See Also:
-
isChronological
public boolean isChronological()- See Also:
-
isNumeric
public boolean isNumeric()- See Also:
-
isFourDigitYear
-