|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beust.jcommander.converters.BaseConverter<java.util.Date>
com.beust.jcommander.converters.ISO8601DateConverter
public class ISO8601DateConverter
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 | |
---|---|
ISO8601DateConverter(java.lang.String optionName)
|
Method Summary | |
---|---|
java.util.Date |
convert(java.lang.String value)
|
Methods inherited from class com.beust.jcommander.converters.BaseConverter |
---|
getErrorString, getOptionName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ISO8601DateConverter(java.lang.String optionName)
Method Detail |
---|
public java.util.Date convert(java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |