org.springframework.boot.convert

Annotation Type PeriodFormat



  • @Target(value=FIELD)
     @Retention(value=RUNTIME)
     @Documented
    public @interface PeriodFormat
    Annotation that can be used to indicate the format to use when converting a Period.
    Since:
    2.3.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      PeriodStyle value
      The Period format style.
    • Element Detail

      • value

        public abstract PeriodStyle value
        The Period format style.
        Returns:
        the period format style.