| org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.Tstamp
Tstamp | public class Tstamp extends Task (Code) | | Sets properties to the current time, or offsets from the current time.
The default properties are TSTAMP, DSTAMP and TODAY;
since: Ant 1.1 |
Inner Class :public class CustomFormat | |
Method Summary | |
public CustomFormat | createFormat() create a custom format with the current prefix. | public void | execute() create the timestamps. | public void | setPrefix(String prefix) Set a prefix for the properties. |
createFormat | public CustomFormat createFormat()(Code) | | create a custom format with the current prefix.
a ready to fill-in format |
execute | public void execute() throws BuildException(Code) | | create the timestamps. Custom ones are done before
the standard ones, to get their retaliation in early.
throws: BuildException - on error. |
setPrefix | public void setPrefix(String prefix)(Code) | | Set a prefix for the properties. If the prefix does not end with a "."
one is automatically added.
Parameters: prefix - the prefix to use. since: Ant 1.5 |
|
|