public class Tstamp extends Task
| Modifier and Type | Class and Description | 
|---|---|
| class  | Tstamp.CustomFormatThis nested element that allows a property to be set
 to the current date and time in a given format. | 
| static class  | Tstamp.Unitset of valid units to use for time offsets. | 
description, location, project| Constructor and Description | 
|---|
| Tstamp() | 
| Modifier and Type | Method and Description | 
|---|---|
| Tstamp.CustomFormat | createFormat()create a custom format with the current prefix. | 
| void | execute()create the timestamps. | 
| void | setPrefix(java.lang.String prefix)Set a prefix for the properties. | 
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void setPrefix(java.lang.String prefix)
prefix - the prefix to use.public void execute()
             throws BuildException
execute in class TaskBuildException - on error.public Tstamp.CustomFormat createFormat()