Package io.datarouter.model.field.imp
Class LocalDateField
java.lang.Object
io.datarouter.model.field.BaseField<T>
io.datarouter.model.field.BasePrimitiveField<java.time.LocalDate,LocalDateFieldKey>
io.datarouter.model.field.imp.LocalDateField
- All Implemented Interfaces:
ByteEncodedField<java.time.LocalDate>,StringEncodedField<java.time.LocalDate>,Field<java.time.LocalDate>,java.lang.Comparable<Field<java.time.LocalDate>>
public class LocalDateField extends BasePrimitiveField<java.time.LocalDate,LocalDateFieldKey>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.datarouter.model.field.BaseField
BaseField.FieldColumnNameComparator -
Field Summary
-
Constructor Summary
Constructors Constructor Description LocalDateField(LocalDateFieldKey key, java.time.LocalDate value)LocalDateField(java.lang.String prefix, LocalDateFieldKey key, java.time.LocalDate value) -
Method Summary
Modifier and Type Method Description java.time.LocalDatefromBytesButDoNotSet(byte[] bytes, int offset)byte[]getBytes()java.lang.StringgetStringEncodedValue()intnumBytesWithSeparator(byte[] bytes, int offset)java.time.LocalDateparseStringEncodedValueButDoNotSet(java.lang.String str)Methods inherited from class io.datarouter.model.field.BaseField
fromBytesWithSeparatorButDoNotSet, fromString, getBytesWithSeparator, getPrefix, getPrefixedName, getPreparedStatementValue, getValue, getValueHashCode, getValueString, setPrefix, setUsingReflection, setValue, toString
-
Constructor Details
-
Method Details
-
getStringEncodedValue
public java.lang.String getStringEncodedValue() -
parseStringEncodedValueButDoNotSet
public java.time.LocalDate parseStringEncodedValueButDoNotSet(java.lang.String str) -
getBytes
public byte[] getBytes() -
numBytesWithSeparator
public int numBytesWithSeparator(byte[] bytes, int offset) -
fromBytesButDoNotSet
public java.time.LocalDate fromBytesButDoNotSet(byte[] bytes, int offset)
-