public static final class Calendar.WeekData
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
firstDayOfWeek
the first day of the week, where 1 =
Calendar.SUNDAY and 7 = Calendar.SATURDAY |
int |
minimalDaysInFirstWeek
the minimal number of days in the first week
|
int |
weekendCease
the cease day, where 1 =
Calendar.SUNDAY and 7 = Calendar.SATURDAY |
int |
weekendCeaseMillis
the cease time in millis during the cease day.
|
int |
weekendOnset
the onset day, where 1 =
Calendar.SUNDAY and 7 = Calendar.SATURDAY |
int |
weekendOnsetMillis
the onset time in millis during the onset day
|
| Constructor and Description |
|---|
Calendar.WeekData(int fdow,
int mdifw,
int weekendOnset,
int weekendOnsetMillis,
int weekendCease,
int weekendCeaseMillis)
Constructor
|
public final int firstDayOfWeek
Calendar.SUNDAY and 7 = Calendar.SATURDAYpublic final int minimalDaysInFirstWeek
public final int weekendOnset
Calendar.SUNDAY and 7 = Calendar.SATURDAYpublic final int weekendOnsetMillis
public final int weekendCease
Calendar.SUNDAY and 7 = Calendar.SATURDAYpublic final int weekendCeaseMillis
public Calendar.WeekData(int fdow,
int mdifw,
int weekendOnset,
int weekendOnsetMillis,
int weekendCease,
int weekendCeaseMillis)
fdow - the first day of the week, where 1 = Calendar.SUNDAY and 7 = Calendar.SATURDAYmdifw - the minimal number of days in the first weekweekendOnset - the onset day, where 1 = Sunday and 7 = SaturdayweekendOnsetMillis - the onset time in millis during the onset dayweekendCease - the cease day, where 1 = Sunday and 7 = SaturdayweekendCeaseMillis - the cease time in millis during the cease day.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2016 IBM Corporation and others.