org.apache.tools.ant.taskdefs
public class Tstamp extends Task
Since: Ant 1.1
UNKNOWN: category="utility"
| Nested Class Summary | |
|---|---|
| class | Tstamp.CustomFormat
This nested element that allows a property to be set
to the current date and time in a given format.
|
| static class | Tstamp.Unit
set of valid units to use for time offsets. |
| Method Summary | |
|---|---|
| Tstamp.CustomFormat | createFormat()
create a custom format with the current prefix. |
| void | execute()
create the timestamps. |
| void | setPrefix(String prefix)
Set a prefix for the properties. |
Returns: a ready to fill-in format
Throws: BuildException on error.
Parameters: prefix the prefix to use.
Since: Ant 1.5