edu.sc.seis.sod.status
Class TimeTemplate

java.lang.Object
  extended by edu.sc.seis.sod.status.TimeTemplate
All Implemented Interfaces:
GenericTemplate

public class TimeTemplate
extends java.lang.Object
implements GenericTemplate


Constructor Summary
TimeTemplate(org.w3c.dom.Element config, boolean representTimeInFuture)
           
TimeTemplate(org.w3c.dom.Element config, Time time)
           
 
Method Summary
static ThreadSafeSimpleDateFormat createSDF(org.w3c.dom.Element el)
           
 java.lang.String getResult()
           
 java.lang.String getResult(Time t)
           
 void setTime(Time t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeTemplate

public TimeTemplate(org.w3c.dom.Element config,
                    boolean representTimeInFuture)

TimeTemplate

public TimeTemplate(org.w3c.dom.Element config,
                    Time time)
Method Detail

createSDF

public static ThreadSafeSimpleDateFormat createSDF(org.w3c.dom.Element el)

setTime

public void setTime(Time t)

getResult

public java.lang.String getResult(Time t)

getResult

public java.lang.String getResult()
Specified by:
getResult in interface GenericTemplate