类 TemporalAccessorParser

    • 构造器详细资料

      • TemporalAccessorParser

        public TemporalAccessorParser​(Class<? extends TemporalAccessor> temporalAccessorType,
                                      DateTimeFormatter formatter)
        Create a new TemporalAccessorParser for the given TemporalAccessor type.
        参数:
        temporalAccessorType - the specific TemporalAccessor class (LocalDate, LocalTime, LocalDateTime, ZonedDateTime, OffsetDateTime, OffsetTime)
        formatter - the base DateTimeFormatter instance