First Day of Week Locale Lookup
Exact independently verified locale/CLDR edition first-day-of-week lookup, Monday 1..Sunday7; not date order, week numbering or inferred current host locale. Caller establishes language, dialect, method and reference context; no automatic identity or universal language-wide claim.
Description
The first weekday is a locale convention rather than a property of an individual date.
The first weekday is a locale convention rather than a property of an individual date.1
Keep the convention's source and numbering scheme explicit.
When to use First Day of Week Locale Lookup
Use this tool to calculate or review the supplied observations under the stated rules. Specify the language variety, analysis, source edition and population or inventory definition.
How to use First Day of Week Locale Lookup and understand its results
- Specify the language variety, analysis, source edition and population or inventory definition.
- Enter callerLocaleIds, callerVerifiedFirstWeekdaysMondayOne, queryLocaleId, using the field meanings and rules below, then run the tool.
- Read callerFirstWeekdayMondayOne, using the output meanings and calculation rules below.
- Correct any reported input issue and run again. Before using a successful result, check the stated units, signs, reference scope and observation coverage.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| callerLocaleIds | Caller locale ids | list of string | Required |
| callerVerifiedFirstWeekdaysMondayOne | Caller verified first weekdays monday one | list of number | Required |
| queryLocaleId | Query locale id; use the exact reference token or coordinate domain stated below | string | Required |
Supply nonempty aligned unique nonblank locale IDs and safe-integer weekdays in 1..7, where Monday is one and Sunday seven. Match the query locale exactly and return its supplied weekday. Unknown locale IDs fail.
firstWeekday=weekdayNumbers[indexOf(localeIds,exactQuery)] Use the matching field units and the exact boundary, ordering and reference rules above.
| Output field | Meaning | Value type |
|---|---|---|
| callerFirstWeekdayMondayOne | Caller first weekday monday one | number |
{
"input": {
"callerLocaleIds": [
"locale-a",
"locale-b"
],
"callerVerifiedFirstWeekdaysMondayOne": [
1,
7
],
"queryLocaleId": "locale-b"
},
"output": {
"callerFirstWeekdayMondayOne": 7
}
} Limitations and assumptions
No locale database or date computation is included. The numbering convention and source edition must be established independently.
Missing required fields, unknown fields, wrong types and violated rules return input issues. Numeric values and outputs must be finite. Lists and matrices must be dense, without missing cells. Numeric lists allow at most 10000 entries; ordinary string lists allow at most 128 strings of 128 UTF-16 units each; numeric matrices allow at most 128 rows and 128 columns, subject to narrower requirements above.
Alternative or Complementary methods
For a related step, use UN Six Official Languages Checker: The United Nations has six official languages: Arabic, Chinese, English, French, Russian and Spanish. For a complementary comparison, use Family-First Name Order Culture Classifier: Personal-name order depends on naming tradition and usage context.
References
-
First Day of Week Locale Lookup — tool.io
Similar or alternative tools
- UN Six Official Languages Checker
The United Nations has six official languages: Arabic, Chinese, English, French, Russian and Spanish.
- Family-First Name Order Culture Classifier
Personal-name order depends on naming tradition and usage context.