Class IntervalParameter

java.lang.Object
google.registry.tools.params.ParameterConverterValidator<org.joda.time.Interval>
google.registry.tools.params.IntervalParameter
All Implemented Interfaces:
com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<org.joda.time.Interval>

public final class IntervalParameter extends ParameterConverterValidator<org.joda.time.Interval>
Interval CLI parameter converter/validator.
  • Constructor Details

    • IntervalParameter

      public IntervalParameter()
  • Method Details

    • convert

      public org.joda.time.Interval convert(String value)
      Specified by:
      convert in interface com.beust.jcommander.IStringConverter<org.joda.time.Interval>
      Specified by:
      convert in class ParameterConverterValidator<org.joda.time.Interval>