Package org.apache.tools.ant.taskdefs
Class Tstamp.Unit
- java.lang.Object
- 
- org.apache.tools.ant.types.EnumeratedAttribute
- 
- org.apache.tools.ant.taskdefs.Tstamp.Unit
 
 
- 
- Enclosing class:
- Tstamp
 
 public static class Tstamp.Unit extends EnumeratedAttribute set of valid units to use for time offsets.
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
 
- 
 - 
Constructor SummaryConstructors Constructor Description Unit()Constructor for Unit enumerated type.
 - 
Method SummaryModifier and Type Method Description intgetCalendarField()Convert the value to int unit value.java.lang.String[]getValues()Get the valid values.- 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
 
- 
 
- 
- 
- 
Method Detail- 
getCalendarFieldpublic int getCalendarField() Convert the value to int unit value.- Returns:
- an int value.
 
 - 
getValuespublic java.lang.String[] getValues() Get the valid values.- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- the value values.
 
 
- 
 
-