public abstract class CalendarDataProvider extends LocaleServiceProvider
An abstract class for service providers that provide locale-dependent
- See Also:
CalendarDataProviderprotected CalendarDataProvider()Sole constructor. (For invocation by subclass constructors, typically implicit.)
getFirstDayOfWeekpublic abstract int getFirstDayOfWeek(Locale locale)Returns the first day of a week in the given
locale. This information is required by
Calendarto support operations on the week-related calendar fields.
getMinimalDaysInFirstWeekpublic abstract int getMinimalDaysInFirstWeek(Locale locale)Returns the minimal number of days required in the first week of a year. This information is required by
Calendarto determine the first week of a year. Refer to the description of how
Calendardetermines the first week.