setFirstDayOfWeek

open fun setFirstDayOfWeek(@IntRange(from = 1, to = 7) firstDayOfWeek: Int)(source)

Sets the first day of the week.

Parameters

firstDayOfWeek

The first day of the week, represented as an integer from 1 to 7, where 1 is Sunday and 7 is Saturday.

See also

Throws

if firstDayOfWeek is not between 1 and 7.