edu.rice.cs.util.ant
Class TstampGMT

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--edu.rice.cs.util.ant.TstampGMT

public class TstampGMT
extends org.apache.tools.ant.Task

A simple, inflexible replacement for Ant's TSTAMP task that always uses GMT. This simple task never allows parameters or nested elements. It only sets the DSTAMP and TSTAMP variables.

Version:
$Id: TstampGMT.java,v 1.1 2002/02/21 15:37:30 brianstoler Exp $

Field Summary
private static SimpleDateFormat DATE_FORMAT
           
private static TimeZone GMT
           
private static SimpleDateFormat TIME_FORMAT
           
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
TstampGMT()
           
 
Method Summary
(package private)  void ()
           
 void execute()
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

GMT

private static final TimeZone GMT

DATE_FORMAT

private static final SimpleDateFormat DATE_FORMAT

TIME_FORMAT

private static final SimpleDateFormat TIME_FORMAT
Constructor Detail

TstampGMT

public TstampGMT()
Method Detail

void ()
Overrides:
in class Object

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task