Package io.deephaven.json
Class LocalDateValue
Processes a JSON string as an
LocalDate.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.deephaven.json.ValueSingleValueBase
ValueSingleValueBase.BuilderSpecial<T,V extends ValueSingleValueBase<T>, B extends ValueSingleValueBase.BuilderSpecial<T, V, B>> Nested classes/interfaces inherited from class io.deephaven.json.Value
Value.Visitor<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe allowed types.static LocalDateValue.Builderbuilder()The date-time formatter to use forparsing.static LocalDateValuestandard()static LocalDateValuestrict()final <T> Twalk(Value.Visitor<T> visitor) Methods inherited from class io.deephaven.json.ValueSingleValueBase
onMissing, onNullMethods inherited from class io.deephaven.json.Value
allowMissing, array, field, skip
-
Constructor Details
-
LocalDateValue
public LocalDateValue()
-
-
Method Details
-
builder
-
standard
-
strict
-
allowedTypes
The allowed types. Must be a subset ofJsonValueTypes.stringOrNull(). By default isJsonValueTypes.stringOrNull().- Specified by:
allowedTypesin classValue
-
dateTimeFormatter
The date-time formatter to use forparsing. The parsed result must support extracting anEPOCH_DAYfield. Defaults toDateTimeFormatter.ISO_LOCAL_DATE.- Returns:
- the date-time formatter
-
walk
-