Package org.springframework.format.annotation
@NonNullApi
@NonNullFields
package org.springframework.format.annotation
Annotations for declaratively configuring field and parameter formatting rules.
-
ClassDescriptionDeclares that a field or method parameter should be formatted as a date or time.Common ISO date time format patterns.Duration format styles.Duration format unit, which mirrors a subset of
ChronoUnit
and allows conversion to and from a supportedChronoUnit
as well as conversion from durations to longs.Declares that a field or method parameter should be formatted as a number.Common number format styles.