API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.scheduler. JOTClock View Source
Author(s)
tcolar
Since
Version
Serial
Hierarchy
 Object
      JOTClock
Implements
Subclasses
Description
public class JOTClock
Collection of utilities related to Date/Time
See also:   
Constructors
public JOTClock ()
Methods
Hide/Show inherited methods
publicstatic Date getCurrentDate ()
  Gets the current Date
publicstatic long getCurrentTime ()
  Gets the current Time in ms since 1970
publicstatic String getDateString ()
  Same, but without milliseconds
publicstatic String getDateStringWithMs ()
  return the date in a fomat containing no spaces, mainly used as part of file names
publicstatic int getField (int field)
publicstatic Calendar getNow ()
publicstatic Date parseDateString (String s) throws ParseException
  parse a date string created by getDateString of getDateStringWithMs back into a Date object
Fields
Hide/Show inherited fields
publicfinalstatic DateFormat TIMESTAMP_FORMAT
publicfinalstatic Pattern TIMESTAMP_PATTERN
publicfinalstatic DateFormat TIMESTAMP_WITH_MS_FORMAT
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar