Package google.registry.tools.params
Class DateParameter
java.lang.Object
google.registry.tools.params.ParameterConverterValidator<org.joda.time.DateTime>
google.registry.tools.params.DateParameter
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<org.joda.time.DateTime>
DateTime
CLI parameter converter/validator restricted to dates. The DateTime
s
produced by this class will always have a time zone of DateTimeZone.UTC
.-
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.params.ParameterConverterValidator
validate
-
Constructor Details
-
DateParameter
public DateParameter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfacecom.beust.jcommander.IStringConverter<org.joda.time.DateTime>
- Specified by:
convert
in classParameterConverterValidator<org.joda.time.DateTime>
-