Package io.deephaven.json
Class LocalDateValue
Processes a JSON string as an
LocalDate
.-
Nested Class Summary
Nested 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
-
Method Summary
Modifier and TypeMethodDescriptionThe allowed types.static LocalDateValue.Builder
builder()
The date-time formatter to use forparsing
.static LocalDateValue
standard()
static LocalDateValue
strict()
final <T> T
walk
(Value.Visitor<T> visitor) Methods inherited from class io.deephaven.json.ValueSingleValueBase
onMissing, onNull
Methods 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:
allowedTypes
in classValue
-
dateTimeFormatter
The date-time formatter to use forparsing
. The parsed result must support extracting anEPOCH_DAY
field. Defaults toDateTimeFormatter.ISO_LOCAL_DATE
.- Returns:
- the date-time formatter
-
walk
-