Annotation Type JavaTimeConversionPattern



  • @Target({ANNOTATION_TYPE,PARAMETER})
    @Retention(RUNTIME)
    @Documented
    @API(status=EXPERIMENTAL,
         since="5.0")
    @ConvertWith(org.junit.jupiter.params.converter.JavaTimeArgumentConverter.class)
    public @interface JavaTimeConversionPattern
    @JavaTimeConversionPattern is an annotation that allows a date/time conversion pattern to be specified on a method parameter of a @ParameterizedTest method.
    Since:
    5.0
    See Also:
    ParameterizedTest, DateTimeFormatterBuilder.appendPattern(String)
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The date/time conversion pattern.
    • Element Detail

      • value

        java.lang.String value
        The date/time conversion pattern.
        See Also:
        DateTimeFormatterBuilder.appendPattern(String)