Class ClockScan


  • public class ClockScan
    extends java.lang.Object
    This class implements time and date scanning. It was adapted from the TCL implementation found in JACL.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean debug  
    • Constructor Summary

      Constructors 
      Constructor Description
      ClockScan()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Date GetDate​(java.lang.String dateString, java.util.Date baseDate, java.lang.String zone)
      Scan a human readable date string and construct a Date.
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, 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 java.util.Date GetDate​(java.lang.String dateString,
                                             java.util.Date baseDate,
                                             java.lang.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​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception