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

Variable Index

 o date
 o dayOfWeek
 o dayOfWeekInMonth
 o dayOfYear
 o gmt_ms
 o gmt_offset
 o hour
 o millisecond
 o minute
 o month
 o second
 o weekCount
 o year

Constructor Index

 o DateRep()
Construct a DateRep with no values.
 o DateRep(int, int, int, int, int, int, int, int, int, int, int, int, int)
Construct a DateRep with the passed-in values.
 o DateRep(long)
Construct a DateRep with the value ms.

Method Index

 o set(long)
Set the time in this DateRep.

Variables

 o gmt_ms
 public long gmt_ms
 o year
 public int year
 o month
 public int month
 o date
 public int date
 o dayOfWeek
 public int dayOfWeek
 o dayOfYear
 public int dayOfYear
 o weekCount
 public int weekCount
 o millisecond
 public int millisecond
 o second
 public int second
 o minute
 public int minute
 o hour
 public int hour
 o dayOfWeekInMonth
 public int dayOfWeekInMonth
 o gmt_offset
 public int gmt_offset

Constructors

 o DateRep
 public DateRep()
Construct a DateRep with no values.

 o 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.

 o 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

Methods

 o 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