Module org.junit.jupiter.params
Annotation Interface JavaTimeConversionPattern
@Target({ANNOTATION_TYPE,PARAMETER})
@Retention(RUNTIME)
@Documented
@API(status=STABLE,
since="5.7")
@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 parameter of a
@ParameterizedTest
method.- Since:
- 5.0
- See Also:
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Whethernull
argument values are allowed.
-
Element Details
-
value
String valueThe date/time conversion pattern.- See Also:
-
nullable
Whethernull
argument values are allowed.Defaults to
false
, in which case anull
value will result in an exception.- Since:
- 5.12
- Default:
false
-