Annotation Type DurationFormat


@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Documented public @interface DurationFormat
Annotation that can be used to indicate the format to use when converting a Duration.
Since:
2.0.0
Author:
Phillip Webb
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The duration format style.
  • Element Details

    • value

      The duration format style.
      Returns:
      the duration format style.