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
FieldsFields inherited from class AbstractTypeHandler
baseHandler, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic booleanisFourDigitYear(String dateTime) booleanMethods inherited from class AbstractComparableTypeHandler
compareMethods inherited from class AbstractTypeHandler
asString, 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
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
-