Class Calendar.WeekData
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.util.Calendar.WeekData
- Enclosing class:
Calendar
Simple, immutable struct-like class for access to the CLDR week data.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intthe first day of the week, where 1 =Calendar.SUNDAYand 7 =Calendar.SATURDAYfinal intthe minimal number of days in the first weekfinal intthe cease day, where 1 =Calendar.SUNDAYand 7 =Calendar.SATURDAYfinal intthe cease time in millis during the cease day.final intthe onset day, where 1 =Calendar.SUNDAYand 7 =Calendar.SATURDAYfinal intthe onset time in millis during the onset day -
Constructor Summary
ConstructorsConstructorDescriptionWeekData(int fdow, int mdifw, int weekendOnset, int weekendOnsetMillis, int weekendCease, int weekendCeaseMillis) Constructor -
Method Summary
-
Field Details
-
firstDayOfWeek
public final int firstDayOfWeekthe first day of the week, where 1 =Calendar.SUNDAYand 7 =Calendar.SATURDAY -
minimalDaysInFirstWeek
public final int minimalDaysInFirstWeekthe minimal number of days in the first week -
weekendOnset
public final int weekendOnsetthe onset day, where 1 =Calendar.SUNDAYand 7 =Calendar.SATURDAY -
weekendOnsetMillis
public final int weekendOnsetMillisthe onset time in millis during the onset day -
weekendCease
public final int weekendCeasethe cease day, where 1 =Calendar.SUNDAYand 7 =Calendar.SATURDAY -
weekendCeaseMillis
public final int weekendCeaseMillisthe cease time in millis during the cease day. Exclusive, so the max is 24:00:00.000. Note that this will format as 00:00 the next day.
-
-
Constructor Details
-
WeekData
public WeekData(int fdow, int mdifw, int weekendOnset, int weekendOnsetMillis, int weekendCease, int weekendCeaseMillis) Constructor- Parameters:
fdow- the first day of the week, where 1 =Calendar.SUNDAYand 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.
-
-
Method Details
-
hashCode
-
equals
-
toString
-