Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.Tstamp.Unit
public static class Tstamp.Unit
extends EnumeratedAttribute
Field Summary |
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute | |
value |
Constructor Summary | |
|
Method Summary | |
int |
|
String[] |
|
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute | |
containsValue , getIndex , getInstance , getValue , getValues , indexOfValue , setValue , toString |
public int getCalendarField()
Convert the value to int unit value.
- Returns:
- an int value.
public String[] getValues()
Get the valid values.
- Overrides:
- getValues in interface EnumeratedAttribute
- Returns:
- the value values.