All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.util.FormattedDate
java.lang.Object
|
+----sun.server.util.FormattedDate
- public class FormattedDate
- extends Object
-
days
-
-
months
-
-
FormattedDate()
-
-
getTime()
- Get the current time in milliseconds.
-
getTime(DateRep)
- Get the current time in milliseconds.
-
setTime(long)
-
Set the current time to be ms.
days
protected final static byte days[][]
months
protected final static byte months[][]
FormattedDate
public FormattedDate()
setTime
public static synchronized void setTime(long ms)
- Set the current time to be ms.
- Parameters:
- ms - time in milliseconds since the epoch
getTime
public static synchronized long getTime()
- Get the current time in milliseconds.
- Returns:
- current time in ms since epoch, as updated by TimeManager
getTime
public static synchronized void getTime(DateRep dr)
- Get the current time in milliseconds. Places the current time in
the dr parameter
- Parameters:
- dr - the place to put the decomposed current time
All Packages Class Hierarchy This Package Previous Next Index