Uses of Enum Class
org.apache.juneau.marshall.DurationFormat
Packages that use DurationFormat
Package
Description
Marshalling API
Parser API
Serializer API
URL-Encoding Annotations
-
Uses of DurationFormat in org.apache.juneau.marshall
Methods in org.apache.juneau.marshall that return DurationFormatModifier and TypeMethodDescriptionfinal DurationFormatMarshallingContext.getDurationFormat()Duration wire format.protected final DurationFormatMarshallingContextable.getDurationFormat()Duration wire format.static DurationFormatReturns the enum constant of this class with the specified name.static DurationFormat[]DurationFormat.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.juneau.marshall with parameters of type DurationFormatModifier and TypeMethodDescriptionMarshalledAnnotation.Builder.durationFormat(DurationFormat value) Sets theMarshalled.durationFormat()property on this annotation.MarshalledPropAnnotation.Builder.durationFormat(DurationFormat value) Sets theMarshalledProp.durationFormat()property on this annotation.MarshallingContext.Builder.durationFormat(DurationFormat value) Duration wire format.MarshallingContextable.Builder.durationFormat(DurationFormat value) Duration wire format. -
Uses of DurationFormat in org.apache.juneau.marshall.parser
Methods in org.apache.juneau.marshall.parser that return DurationFormatModifier and TypeMethodDescriptionprotected final DurationFormatParserSession.getDurationFormat()Duration parse hint format. -
Uses of DurationFormat in org.apache.juneau.marshall.serializer
Methods in org.apache.juneau.marshall.serializer that return DurationFormatModifier and TypeMethodDescriptionprotected final DurationFormatSerializerSession.getDurationFormat()Returns the configured default duration wire format. -
Uses of DurationFormat in org.apache.juneau.marshall.utils
Methods in org.apache.juneau.marshall.utils with parameters of type DurationFormatModifier and TypeMethodDescriptionstatic StringIso8601Utils.formatDuration(Duration value, DurationFormat format) Formats aDurationvalue using the supplied wire format.static DurationIso8601Utils.parseDuration(String iso8601, DurationFormat formatHint) Parses an ISO 8601 / numeric wire value into aDuration.