Locale.getFirstDayOfWeek

Overview | Methods | This Package | All Packages

Locale.getFirstDayOfWeek

Retrieves the day of the week that is considered the first day of the week in the current locale.

Syntax

public int getFirstDayOfWeek()

Return Value

Returns an integer value that represents the day of the week that is considered the first day in a week.

Remarks

Use this method to retrieve the first day of a week for a locale. The value returned by the getFirstDayOfWeek method can be one of the following values:

Value Day of the Week
0 Monday
1 Tuesday
2 Wednesday
3 Thursday
4 Friday
5 Saturday
6 Sunday

See Also   setFirstDayOfWeek, getDayName, getAbbrevDayName