| java.lang.Object sun.util.calendar.Gregorian sun.tools.javazic.Calendar
Calendar | class Calendar extends Gregorian (Code) | | Gregorian calendar utility methods. The algorithms are from
"Calendrical Calculation" by Nachum Dershowitz and Edward
M. Reingold (ISBN: 0-521-56474-3).
since: 1.4 |
Method Summary | |
static int | getNthDayOfWeek(int nth, int dayOfWeek, int fixedDate) Returns a fixed date of the n-th day-of-week which is after or
before the given fixed date.
Parameters: nth - specifies the n-th one. |
getNthDayOfWeek | static int getNthDayOfWeek(int nth, int dayOfWeek, int fixedDate)(Code) | | Returns a fixed date of the n-th day-of-week which is after or
before the given fixed date.
Parameters: nth - specifies the n-th one. A positive number specifiesafter the fixedDate . A negative numberor 0 specifies before the fixedDate . Parameters: dayOfWeek - the day of week Parameters: fixedDate - the fixed date the fixed date of the nth dayOfWeek afteror before fixedDate |
Fields inherited from sun.util.calendar.Gregorian | final public static int EPOCH_DATE(Code)(Java Doc)
|
|
|