Century (Roman Numeral)
Type Registry
Century (Roman Numeral)
datetime.component.century Century as a Roman numeral. Niche format found in historical data, library cataloging, and academic texts.
Domain datetime›component
Casts to VARCHAR
Scope broad_characters
Try it
CLI
$ finetype infer -i "XIX"
→ datetime.component.century DuckDB
Detect
SELECT finetype('XIX');
-- → 'datetime.component.century' Cast expression
{col} Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'datetime.component.century'; JSON Schema
finetype schema datetime.component.century {
"$id": "https://noon.sh/schemas/datetime.component.century",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Century as a Roman numeral. Niche format found in historical data, library cataloging, and academic texts.",
"enum": [
"I",
"II",
"III",
"IV",
"V",
"VI",
"VII",
"VIII",
"IX",
"X",
"XI",
"XII",
"XIII",
"XIV",
"XV",
"XVI",
"XVII",
"XVIII",
"XIX",
"XX",
"XXI"
],
"examples": [
"XIX",
"XX",
"XXI"
],
"title": "Century (Roman Numeral)",
"type": "string"
} Examples
XIXXXXXI