Package org.springframework.format.datetime.standard
@NonNullApi
@NonNullFields
package org.springframework.format.datetime.standard
Integration with the JSR-310
java.time
package in JDK 8.-
ClassDescriptionA context that holds user-specific
java.time
(JSR-310) settings such as the user's Chronology (calendar system) and time zone.A holder for a thread-local userDateTimeContext
.Factory that creates a JSR-310DateTimeFormatter
.FactoryBean
that creates a JSR-310DateTimeFormatter
.Configures the JSR-310java.time
formatting system for use with Spring.Formats fields annotated with theDurationFormat
annotation using the selected style for parsing and printing JSR-310Duration
.SupportDuration
parsing and printing in several styles, as listed inDurationFormat.Style
.Formatter
implementation for a JSR-310Instant
, following JSR-310's parsing rules for an Instant (that is, not using a configurableDateTimeFormatter
): accepting the defaultISO_INSTANT
format as well asRFC_1123_DATE_TIME
(which is commonly used for HTTP date header values), as of Spring 4.3.Formats fields annotated with theDateTimeFormat
annotation using the JSR-310java.time
package in JDK 8.Parser
implementation for a JSR-310TemporalAccessor
, using aDateTimeFormatter
(the contextual one, if available).Printer
implementation for a JSR-310TemporalAccessor
, using aDateTimeFormatter
) (the contextual one, if available).