|Modifier||Constructor and Description|
|Modifier and Type||Method and Description|
Returns the first day of a week in the given
Returns the minimal number of days required in the first week of a year.
public abstract int getFirstDayOfWeek(Locale locale)
locale. This information is required by
Calendarto support operations on the week-related calendar fields.
public abstract int getMinimalDaysInFirstWeek(Locale locale)
Calendarto determine the first week of a year. Refer to the description of how
Calendardetermines the first week.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2021, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.