Class StringToJavaTimeConverter
java.lang.Object
org.junit.jupiter.params.converter.StringToJavaTimeConverter
- All Implemented Interfaces:
StringToObjectConverter
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.junit.jupiter.params.converter.StringToObjectConverter
convert
-
Field Details
-
CONVERTERS
-
-
Constructor Details
-
StringToJavaTimeConverter
StringToJavaTimeConverter()
-
-
Method Details
-
canConvert
Description copied from interface:StringToObjectConverter
Determine if this converter can convert from aString
to the supplied target type (which is guaranteed to be a wrapper type for primitives — for example,Integer
instead ofint
).- Specified by:
canConvert
in interfaceStringToObjectConverter
-
convert
Description copied from interface:StringToObjectConverter
Convert the suppliedString
to the supplied target type (which is guaranteed to be a wrapper type for primitives — for example,Integer
instead ofint
).- Specified by:
convert
in interfaceStringToObjectConverter
- Throws:
Exception
-