Calendar parameters.
CalendarNameProvider
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | Returns: the first day of a week; one ofCalendar#SUNDAY ..
Calendar#SATURDAY,
or 0 if the value isn't available for the localethe desired locale locale)Returns the first day of a week in the given |
| public abstract int | Returns: the minimal number of days of the first week, or 0 if the value isn't available for thelocalethe desired locale locale)Returns the minimal number of days required in the first week of a year. |
| CalendarDataProvider | back to summary |
|---|---|
| protected CalendarDataProvider() Sole constructor. (For invocation by subclass constructors, typically implicit.) | |
| getFirstDayOfWeek | back to summary |
|---|---|
| public abstract int getFirstDayOfWeek(Locale locale) Returns the first day of a week in the given
| |
| getMinimalDaysInFirstWeek | back to summary |
|---|---|
| public abstract int getMinimalDaysInFirstWeek(Locale locale) Returns the minimal number of days required in the first week of a
year. This information is required by
| |