Description
For positive integer year, compute cycleYear = (year - 1) modulo 30 + 1.
Calendar coordinates depend on an era, origin, day-start rule, and sometimes an arithmetic rather than observational convention. A supplied coordinate difference does not resolve those choices.
For positive integer year, compute cycleYear = (year - 1) modulo 30 + 1.
When to use this tool
Use Hijri Year Civil Tabular Remainder when you need a documented calendar convention or source-coordinate comparison.
How to use the tool and how it works
- Enter year. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read cycleYear, leap, daysInYear. Inspect leap before interpreting the associated values.
For positive integer year, compute cycleYear = (year - 1) modulo 30 + 1. Mark leap when (11 × year + 14) modulo 30 is below 11 and return 355 or 354 days.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| year | Positive year under the implemented arithmetic civil-tabular Hijri convention. | Required. Safe integer; minimum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| cycleYear | Cycle Year | Required. Safe integer. |
| leap | Leap | Required. Boolean. |
| daysInYear | Days In Year | Required. Safe integer. |
{
"input": {
"year": 1445
},
"output": {
"cycleYear": 5,
"leap": true,
"daysInYear": 355
}
} Limitations and assumptions
- This is one explicit arithmetic civil-tabular convention, not an observational month-start determination or universal religious calendar ruling.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Consult the source calendar and authoritative date information for actual observance, conversion, or historical dating.
References
Similar or alternative tools
- Public Hijri Year Label Token
Parse the preceding positive ASCII digits without leading zero into year and return the suffix unchanged.
- Public Hijri Month Source Gap
Use exact integers for (secondYear - firstYear) × monthsInSuppliedYear + secondMonth - firstMonth.