org.apache.tools.ant.taskdefs

Class Tstamp.Unit

public static class Tstamp.Unit extends EnumeratedAttribute

set of valid units to use for time offsets.
Constructor Summary
Unit()
Constructor for Unit enumerated type.
Method Summary
intgetCalendarField()
Convert the value to int unit value.
String[]getValues()
Get the valid values.

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 String[] getValues()
Get the valid values.

Returns: the value values.