public class LocalDateType extends DateType
| Modifier and Type | Field and Description |
|---|---|
static String |
INSTANCE_LOCALDATE_OF_EPOCHDAY |
DATE_FORMATTER, day, hour, millisecond, minute, month, second, SIMPLE_DATE_FORMATTER, timezone, yeardepth, spec| Constructor and Description |
|---|
LocalDateType(JavaDtoSpec spec) |
LocalDateType(String type,
String fullTypeName,
Class<?> clazz,
JavaDtoSpec spec) |
LocalDateType(String type,
String fullTypeName,
Class<?> clazz,
JavaDtoSpec spec,
List<IntParam> dateFields) |
| Modifier and Type | Method and Description |
|---|---|
LocalDateType |
copy() |
Object |
getDateInstance(List<IntParam> values) |
long |
getDateLong(List<IntParam> values) |
String |
getDateString(List<IntParam> values) |
TypeDto |
getDto() |
List<IntParam> |
getIntValues(Object date)
extract value of fields based on the date instance
|
formatZZZZ, getDateFields, setDateFieldsgetClazz, getFullTypeName, getFullTypeNameWithGenericType, getSimpleTypeName, getTypeNameForInstanceInJavaOrKotlin, sameType, setOriginalTypepublic static final String INSTANCE_LOCALDATE_OF_EPOCHDAY
public LocalDateType(String type, String fullTypeName, Class<?> clazz, JavaDtoSpec spec)
public LocalDateType(String type, String fullTypeName, Class<?> clazz, JavaDtoSpec spec, List<IntParam> dateFields)
public LocalDateType(JavaDtoSpec spec)
public LocalDateType copy()
copy in class TypeSchemapublic Object getDateInstance(List<IntParam> values)
getDateInstance in class DateTypevalues - are a list of values for the datepublic List<IntParam> getIntValues(Object date)
DateTypegetIntValues in class DateTypedate - is an instance of Date, eg, java.util.Date or java.time.LocalDatepublic long getDateLong(List<IntParam> values)
getDateLong in class DateTypepublic String getDateString(List<IntParam> values)
getDateString in class DateTypevalues - are a list of values for the datepublic TypeDto getDto()
getDto in class TypeSchemaCopyright © 2016–2025. All rights reserved.