    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

##

days
months

##

DateThread()

##

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

##

days

     protected static String days[]

months

     protected static String months[]

##

DateThread

     public DateThread()

##

getDate

     public synchronized String getDate()

  Give the Date in HTTP/1.1 preferred format

  Returns:
    A String giving the date in the right format

getLogDate

     public synchronized String getLogDate()

run

     public void run()

  The main loop which calculate the date every second

  Overrides:
    run in class Thread

main

     public static void main(String args[])

    All Packages  Class Hierarchy  This Package  Previous  Next  Index