util
Class TimeTag

java.lang.Object
  extended by util.TimeTool
      extended by util.TimeTag

public class TimeTag
extends TimeTool

Class to provifing a simple timetag.


Nested Class Summary
static class TimeTag.Test
          Write out all available date/time tags at the current time.
 
Field Summary
 
Fields inherited from class util.TimeTool
DEFDATE, DEFDATM, DEFLOC, DEFTIME, DEFZONE, GREG, ISO, ISOSTANDARD, UTC
 
Constructor Summary
TimeTag()
           
 
Method Summary
static String getDateTag()
           
static String getDateTag(Date fordate)
           
static String getDateTimeTag()
           
static String getDateTimeTag(Date fordate)
           
static String getExactTimeTag()
           
static String getExactTimeTag(Date fordate)
           
static String getTimeTag()
           
static String getTimeTag(Date fordate)
           
static double millis()
          Return the actual second to ms.
static void println(String line)
          Prints the current seconds before the line.
static void sleep(long ms)
          Thread.sleep for the indicated amount, without exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeTag

public TimeTag()
Method Detail

millis

public static double millis()
Return the actual second to ms.


println

public static void println(String line)
Prints the current seconds before the line.


sleep

public static void sleep(long ms)
Thread.sleep for the indicated amount, without exception.


getExactTimeTag

public static final String getExactTimeTag()

getTimeTag

public static final String getTimeTag()
Returns:
String

getDateTag

public static final String getDateTag()
Returns:
String

getDateTimeTag

public static final String getDateTimeTag()
Returns:
String

getExactTimeTag

public static final String getExactTimeTag(Date fordate)

getTimeTag

public static final String getTimeTag(Date fordate)
Parameters:
fordate -
Returns:
String

getDateTag

public static final String getDateTag(Date fordate)
Parameters:
fordate -
Returns:
String

getDateTimeTag

public static final String getDateTimeTag(Date fordate)
Parameters:
fordate -
Returns:
String