All Packages Class Hierarchy This Package Previous Next Index
Class fabula.util.Time
java.lang.Object
|
+----fabula.util.Time
- public class Time
- extends Object
The class Time
defines several methods for accessing
time methods from java.
-
Encode(int, int, int)
- Encodes the time
-
Hour(Date)
- Returns the hour of the time
-
Min(Date)
- Returns the minute of the time
-
Now()
- Returns the current time
-
Sec(Date)
- Returns the seconds of the time
-
ToInt(Date)
- Returns the time as integer contains the time in seconds
-
ZoneOffset()
- Returns the Timezone offset from Greenwhichmeantime GMT
to the local timezone
Encode
public static Date Encode(int aHour,
int aMin,
int aSec)
- Encodes the time
Now
public static Date Now()
- Returns the current time
Hour
public static int Hour(Date D)
- Returns the hour of the time
Min
public static int Min(Date D)
- Returns the minute of the time
Sec
public static int Sec(Date D)
- Returns the seconds of the time
ToInt
public static long ToInt(Date D)
- Returns the time as integer contains the time in seconds
ZoneOffset
public static int ZoneOffset()
- Returns the Timezone offset from Greenwhichmeantime GMT
to the local timezone
All Packages Class Hierarchy This Package Previous Next Index