org.apache.tools.ant.taskdefs.optional

Class PropertyFile.Unit

public static class PropertyFile.Unit extends EnumeratedAttribute

Borrowed from Tstamp

Since: Ant 1.5

UNKNOWN: share all this time stuff across many tasks as a datetime datatype

Constructor Summary
Unit()
no arg constructor
Method Summary
intgetCalendarField()
Convert the value to a Calendar field index.
String[]getValues()
{@inheritDoc}.

Constructor Detail

Unit

public Unit()
no arg constructor

Method Detail

getCalendarField

public int getCalendarField()
Convert the value to a Calendar field index.

Returns: the calander value.

getValues

public String[] getValues()
{@inheritDoc}.