Package google.registry.tools.params
Class DateTimeParameter
java.lang.Object
google.registry.tools.params.ParameterConverterValidator<org.joda.time.DateTime>
google.registry.tools.params.DateTimeParameter
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<org.joda.time.DateTime>
DateTime CLI parameter converter/validator. Can be ISO or millis from epoch.
-
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.params.ParameterConverterValidator
validate
-
Constructor Details
-
DateTimeParameter
public DateTimeParameter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfacecom.beust.jcommander.IStringConverter<org.joda.time.DateTime>
- Specified by:
convert
in classParameterConverterValidator<org.joda.time.DateTime>
-