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 |
---|
WeekData(int fdow,
int mdifw,
int weekendOnset,
int weekendOnsetMillis,
int weekendCease,
int weekendCeaseMillis)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.String |
toString() |
public final int firstDayOfWeek
Calendar.SUNDAY
and 7 = Calendar.SATURDAY
public final int minimalDaysInFirstWeek
public final int weekendOnset
Calendar.SUNDAY
and 7 = Calendar.SATURDAY
public final int weekendOnsetMillis
public final int weekendCease
Calendar.SUNDAY
and 7 = Calendar.SATURDAY
public final int weekendCeaseMillis
public 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.SATURDAY
mdifw
- 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.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2016 Unicode, Inc. and others.