Locale.setFirstDayOfWeek

Overview | Methods | This Package | All Packages

Locale.setFirstDayOfWeek

Sets which day to use as the first day in a week.

Syntax

public void setFirstDayOfWeek( int value )

Parameters

value

An integer value that corresponds to the first day in a week.

Remarks

When using this method to designate the first day of the week, use the values from the following table:

Value Description
0 Monday
1 Tuesday
2 Wednesday
3 Thursday
4 Friday
5 Saturday
6 Sunday

See Also   getFirstDayOfWeek