Class AbstractDateTypeHandler<T extends C, C extends Comparable<C>>
java.lang.Object
ch.tocco.nice2.types.spi.AbstractTypeHandler<T>
ch.tocco.nice2.types.impl.handlers.AbstractDateTypeHandler<T,C>
- All Implemented Interfaces:
TypeHandler<T>
- Direct Known Subclasses:
DateTimeTypeHandler, DateTypeHandler, TimeTypeHandler
public abstract class AbstractDateTypeHandler<T extends C, C extends Comparable<C>>
extends AbstractTypeHandler<T>
-
Field Summary
FieldsFields inherited from class AbstractTypeHandler
baseHandler, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintShould primarily be used for ordering instead of equality as some implementations are case-insensitive.booleanstatic booleanisFourDigitYear(String dateTime) booleanMethods 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:
-
compare
Description copied from interface:TypeHandlerShould primarily be used for ordering instead of equality as some implementations are case-insensitive.- Specified by:
comparein interfaceTypeHandler<T extends C>- Overrides:
comparein classAbstractTypeHandler<T extends C>
-
isFourDigitYear
-