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
set of valid units to use for time offsets.
- 
Field SummaryFields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintConvert the value to int unit value.String[]Get the valid values.Methods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
- 
Constructor Details- 
Unitpublic Unit()Constructor for Unit enumerated type.
 
- 
- 
Method Details- 
getCalendarFieldpublic int getCalendarField()Convert the value to int unit value.- Returns:
- an int value.
 
- 
getValuesGet the valid values.- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- the value values.
 
 
-