| Parameter | Type | Description |
|---|---|---|
| locale | String |
Optional
|
Returns a zero-based index for first day of the week
Returns a zero-based index for first day of the week, as used by the local (Gregorian) calendar. e.g. Sunday (returns 0), or Monday (returns 1)
| Parameter | Type | Description |
|---|---|---|
| locale | String |
Optional
|
Returns a hash containing the start and end days of the weekend
Returns a hash containing the start and end days of the weekend according to local custom using locale, or by default in the user's locale. e.g. {start:6, end:0}
| Parameter | Type | Description |
|---|---|---|
| locale | String |
Optional
|