Olympiad Counting Year System Lookup
Conventional four-year Olympiad arithmetic with first year 776 BCE and no civil year zero; nominal year labels only, not date-of-games or regional new-year conversion.
Description
Olympiad dating numbers years within four-year cycles from an adopted epoch.
Olympiad dating numbers years within four-year cycles from an adopted epoch.1
Crossing BCE and CE requires an explicit convention because civil year labels have no year zero. Use Olympiad Counting Year System Lookup to evaluate the supplied inputs under the model explained below.
When to use Olympiad Counting Year System Lookup
Use Olympiad Counting Year System Lookup to evaluate the supplied inputs under the model explained below. Choose the applicable era, source or grammatical convention and independently establish the annotations or numerical assumptions.
How to use Olympiad Counting Year System Lookup and understand its results
- Choose the applicable era, source or grammatical convention and independently establish the annotations or numerical assumptions.
- Enter Year number, Era using the field table and validation rules below, then run the tool.
- Read Olympiad, Year Within Olympiad in the Result object; interpret the units, signs, ordering and unknown-value placeholders described below.
- Correct reported input errors and rerun. Apply successful results according to their specific meanings and check the assumptions before using them in a decision.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| yearNumber | Year number | number | Required; constraints below |
| era | Era | string | Required; constraints below |
Enter an integer year number from 1 to 9999 and exactly BCE or CE. Convert to an astronomical label: BCE becomes 1−year and CE remains year, then offset by 775. Reject a negative offset, since the model begins at 776 BCE. Return floor(offset/4)+1 and offset mod 4+1 as one-based Olympiad and within-cycle year. No local calendar-season or exact-day reconstruction is included.
astronomicalYear=(BCE ? 1−year : year); offset=astronomicalYear+775; olympiad=floor(offset/4)+1 Use the field order, units and branch conditions described above.
| Output field | Meaning | Value type |
|---|---|---|
| result | Object containing the named result fields below. | object |
| result.olympiad | Olympiad | number |
| result.yearWithinOlympiad | Year Within Olympiad | number |
{
"input": {
"yearNumber": 776,
"era": "BCE"
},
"output": {
"result": {
"olympiad": 1,
"yearWithinOlympiad": 1
}
}
} Limitations and assumptions
Crossing BCE and CE requires an explicit convention because civil year labels have no year zero. Apply the exact scope and assumptions explained above.
All listed fields require explicit values. Unexpected fields, incorrect types, nonfinite numbers and sparse arrays fail validation. Domain-specific bounds, alignments and supported tokens are explained above; extremely large inputs or outputs can also be rejected. Input errors differ from successful false results, empty match lists and unknown-evidence placeholders.
Alternative or Complementary methods
Use Roman Calendar Kalends/Nones/Ides Converter for a related task: Roman date labels count inclusively toward Kalends, Nones or Ides.
Use Consular Dating Fasti Pair Identification Lookup for a related task: Consular dating identifies a year through a source's officeholder pair.
References
-
Olympiad Counting Year System Lookup — tool.io
Similar or alternative tools
- Roman Calendar Kalends/Nones/Ides Converter
Roman date labels count inclusively toward Kalends, Nones or Ides.
- Consular Dating Fasti Pair Identification Lookup
Consular dating identifies a year through a source's officeholder pair.