You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The types in java.time already have static parse methods:
Instant
OffsetDateTime
ZonedDateTime
LocalDate
LocalTime
LocalDateTime
OffsetTime
MonthDay
To reduce boilerplate, the static method lookup approach used in OptionalWrapper.Invoker could be refactored to support either class names (for runtime dependencies) or class objects. This could be an opportunity to generalise ReflectionValueParser, too.
The text was updated successfully, but these errors were encountered:
johnwright
changed the title
Support java.time classes
Support java.time classes
Apr 10, 2018
johnwright
changed the title
Support java.time classes
Support java.time classes
Apr 10, 2018
The types in
java.time
already have staticparse
methods:Instant
OffsetDateTime
ZonedDateTime
LocalDate
LocalTime
LocalDateTime
OffsetTime
MonthDay
To reduce boilerplate, the static method lookup approach used in
OptionalWrapper.Invoker
could be refactored to support either class names (for runtime dependencies) or class objects. This could be an opportunity to generaliseReflectionValueParser
, too.The text was updated successfully, but these errors were encountered: