Skip to content

Main content

Public Hijri Year Label Token Tool

Read a positive decimal year under an exact caller-supplied public era suffix without calendar conversion.

Loading tool…

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

  1. Enter label, suppliedEraSuffix. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
labelLabelRequired. Text; maximum UTF-16 length 8192.
suppliedEraSuffixSupplied Era SuffixRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
yearYearRequired. Safe integer.
eraSuffixEra SuffixRequired. Text; maximum UTF-16 length 8192.
json
{
  "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

  1. Calculation and input contract: islamic-studies/public-hijri-year-label-token — tool.io

Similar or alternative tools