Description
Parse the preceding positive ASCII digits without leading zero into year and return the suffix unchanged.
Source-scoped cultural and historical records preserve an edition, naming convention, or local identifier. Literal agreement is useful bookkeeping but does not establish interpretation, authenticity, or authority.
Parse the preceding positive ASCII digits without leading zero into year and return the suffix unchanged.
When to use this tool
Use Public Hijri Year Label Token when you need a precise source-token or range consistency check.
How to use the tool and how it works
- Enter label, suppliedEraSuffix. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read year, eraSuffix. Use the output convention below.
Require a nonempty suppliedEraSuffix at the label's end. Parse the preceding positive ASCII digits without leading zero into year and return the suffix unchanged.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| label | Label | Required. Text; maximum UTF-16 length 8192. |
| suppliedEraSuffix | Supplied Era Suffix | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| year | Year | Required. Safe integer. |
| eraSuffix | Era Suffix | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"label": "1447 AH",
"suppliedEraSuffix": " AH"
},
"output": {
"year": 1447,
"eraSuffix": " AH"
}
} Limitations and assumptions
- This reads a supplied year label rather than converting Hijri dates or verifying a calendar variant.
- 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.
Alternative or Complementary methods
Consult the source edition and relevant community or scholarly guidance before interpreting or reusing the material.
References
Similar or alternative tools
- Hijri Year Civil Tabular Remainder
For positive integer year, compute cycleYear = (year - 1) modulo 30 + 1.
- Public Hijri Month Source Gap
Use exact integers for (secondYear - firstYear) × monthsInSuppliedYear + secondMonth - firstMonth.