roman/roman library

Classes

ApostrophusRomanNumeralsConfig
Apostrophus form using historical multi-character sequences for the "5" and "10" power values. The base symbols are:
CommonRomanNumeralsConfig
Common (modern) MDCLXVI style — the form most readers recognise from clock faces, copyright dates, and chapter numbers.
CompactApostrophusRomanNumeralsConfig
Compact variant of ApostrophusRomanNumeralsConfig that uses the dedicated Unicode glyphs:
RomanNumerals
Process-wide default RomanNumeralsConfig used when callers do not supply a config to the extension methods.
RomanNumeralsConfig
Base configuration shared by every Roman numeral style.
VinculumRomanNumeralsConfig
Vinculum (overlined) form. An overline (combining U+0305) over a letter multiplies its value by 1,000:

Enums

RomanNumeralsType
Selects which family of Roman numerals to recognise and produce.

Extensions

RomanNumeralsInt on int
Roman numeral conversion methods on int.
RomanNumeralsString on String
Roman numeral conversion methods on String.