spring-framework / org.springframework.format.datetime.standard / TemporalAccessorParser / <init>

<init>

TemporalAccessorParser(temporalAccessorType: Class<out TemporalAccessor>, formatter: DateTimeFormatter)

Create a new TemporalAccessorParser for the given TemporalAccessor type.

Parameters

temporalAccessorType - the specific TemporalAccessor class (LocalDate, LocalTime, LocalDateTime, ZonedDateTime, OffsetDateTime, OffsetTime)

formatter - the base DateTimeFormatter instance