sunlabs.brazil.util
Class ClockScan

java.lang.Object
  extended by sunlabs.brazil.util.ClockScan (view source)

public class ClockScan
extends Object

This class implements time and date scanning. It was adapted from the TCL implementation found in JACL.


Field Summary
static boolean debug
           
 
Constructor Summary
ClockScan()
           
 
Method Summary
static Date GetDate(String dateString, Date baseDate, String zone)
          Scan a human readable date string and construct a Date.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public static boolean debug
Constructor Detail

ClockScan

public ClockScan()
Method Detail

GetDate

public static Date GetDate(String dateString,
                           Date baseDate,
                           String zone)
Scan a human readable date string and construct a Date.

Results: The scanned date (or null, if an error occured).


main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

Version Kenai-svn-r24, Generated 08/18/09
Copyright (c) 2001-2009, Sun Microsystems.