Uses of Enum Class
org.springframework.format.annotation.DurationFormat.Style
Packages that use DurationFormat.Style
Package
Description
Annotations for declaratively configuring field and parameter formatting rules.
Integration with the JSR-310 
java.time package in JDK 8.- 
Uses of DurationFormat.Style in org.springframework.format.annotationMethods in org.springframework.format.annotation that return DurationFormat.StyleModifier and TypeMethodDescriptionstatic DurationFormat.StyleReturns the enum constant of this class with the specified name.static DurationFormat.Style[]DurationFormat.Style.values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Uses of DurationFormat.Style in org.springframework.format.datetime.standardMethods in org.springframework.format.datetime.standard that return DurationFormat.StyleModifier and TypeMethodDescriptionstatic DurationFormat.StyleDetect the style from the given source value.Methods in org.springframework.format.datetime.standard with parameters of type DurationFormat.StyleModifier and TypeMethodDescriptionstatic DurationDurationFormatterUtils.parse(String value, DurationFormat.Style style) Parse the given value to a duration.static DurationDurationFormatterUtils.parse(String value, DurationFormat.Style style, @Nullable DurationFormat.Unit unit) Parse the given value to a duration.static StringDurationFormatterUtils.print(Duration value, DurationFormat.Style style) Print the specified duration in the specified style.static StringDurationFormatterUtils.print(Duration value, DurationFormat.Style style, @Nullable DurationFormat.Unit unit) Print the specified duration in the specified style using the given unit.Constructors in org.springframework.format.datetime.standard with parameters of type DurationFormat.StyleModifierConstructorDescriptionCreate aDurationFormatterin a specificDurationFormat.Style.DurationFormatter(DurationFormat.Style style, @Nullable DurationFormat.Unit defaultUnit)