Package com.beust.jcommander.converters
Class ISO8601DateConverter
java.lang.Object
com.beust.jcommander.converters.BaseConverter<Date>
com.beust.jcommander.converters.ISO8601DateConverter
- All Implemented Interfaces:
IStringConverter<Date>
Converts a String to a Date.
TODO Modify to work with all valid ISO 8601 date formats (currently only works with yyyy-MM-dd).
-
Constructor Summary
-
Method Summary
Methods inherited from class com.beust.jcommander.converters.BaseConverter
getErrorString, getOptionName
-
Constructor Details
-
ISO8601DateConverter
-
-
Method Details
-
convert
- Returns:
- an object of type T created from the parameter value.
-