org.apache.tools.ant.taskdefs

Class Tstamp.Unit

  • Enclosing class:
    Tstamp


    public static class Tstamp.Unit
    extends EnumeratedAttribute
    set of valid units to use for time offsets.
    • Constructor Detail

      • Unit

        public Unit()
        Constructor for Unit enumerated type.
    • Method Detail

      • getCalendarField

        public int getCalendarField()
        Convert the value to int unit value.
        Returns:
        an int value.
      • getValues

        public java.lang.String[] getValues()
        Get the valid values.
        Specified by:
        getValues in class EnumeratedAttribute
        Returns:
        the value values.