All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.tools.timers.DateThread

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----org.w3c.tools.timers.DateThread

public class DateThread
extends Thread

Variable Index

 o days
 o months

Constructor Index

 o DateThread()

Method Index

 o getDate()
Give the Date in HTTP/1.1 preferred format
 o getLogDate()
 o main(String[])
 o run()
The main loop which calculate the date every second

Variables

 o days
 protected static String days[]
 o months
 protected static String months[]

Constructors

 o DateThread
 public DateThread()

Methods

 o getDate
 public synchronized String getDate()
Give the Date in HTTP/1.1 preferred format

Returns:
A String giving the date in the right format
 o getLogDate
 public synchronized String getLogDate()
 o run
 public void run()
The main loop which calculate the date every second

Overrides:
run in class Thread
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index