Class YearMonthParameter

  • All Implemented Interfaces:
    com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<org.joda.time.YearMonth>

    public final class YearMonthParameter
    extends ParameterConverterValidator<org.joda.time.YearMonth>
    YearMonth CLI parameter converter/validator (e.g. 1984-12)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.joda.time.YearMonth convert​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • YearMonthParameter

        public YearMonthParameter()
    • Method Detail

      • convert

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