All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.util.DateRep
java.lang.Object
|
+----sun.server.util.DateRep
- public class DateRep
- extends Object
-
date
-
-
dayOfWeek
-
-
dayOfWeekInMonth
-
-
dayOfYear
-
-
gmt_ms
-
-
gmt_offset
-
-
hour
-
-
millisecond
-
-
minute
-
-
month
-
-
second
-
-
weekCount
-
-
year
-
-
DateRep()
- Construct a DateRep with no values.
-
DateRep(int, int, int, int, int, int, int, int, int, int, int, int, int)
- Construct a DateRep with the passed-in values.
-
DateRep(long)
- Construct a DateRep with the value ms.
-
set(long)
- Set the time in this DateRep.
gmt_ms
public long gmt_ms
year
public int year
month
public int month
date
public int date
dayOfWeek
public int dayOfWeek
dayOfYear
public int dayOfYear
weekCount
public int weekCount
millisecond
public int millisecond
second
public int second
minute
public int minute
hour
public int hour
dayOfWeekInMonth
public int dayOfWeekInMonth
gmt_offset
public int gmt_offset
DateRep
public DateRep()
- Construct a DateRep with no values.
DateRep
public DateRep(int gmt_ms,
int year,
int month,
int date,
int dayOfWeek,
int dayOfYear,
int weekCount,
int millisecond,
int second,
int minute,
int hour,
int dayOfWeekInMonth,
int gmt_offset)
- Construct a DateRep with the passed-in values.
DateRep
public DateRep(long ms)
- Construct a DateRep with the value ms. Value is assumed to be ms
since the epoch and GMT offset is set to 0.
- Parameters:
- ms - since the epoch
set
public void set(long src_time)
- Set the time in this DateRep. All of the cached fields are computed.
- Parameters:
- src_time - the time to set for this DateRep
All Packages Class Hierarchy This Package Previous Next Index