roman/roman library

Classes

ApostrophusRomanNumeralsConfig
Use ApostrophusRomanNumeralsConfig to use special symbols from the Roman era for 500, 1,000; 5,000; 10,000; 50,000; 100,000, and 1,000,000 - these are ⅠↃ, ⅭⅠↃ, ⅠↃↃ, ⅭⅭⅠↃↃ, ⅠↃↃↃ, ⅭⅭⅭⅠↃↃↃ, CCCCIↃↃↃↃ. Maximum value: 3,999,999.
CommonRomanNumeralsConfig
Use CommonRomanNumeralsConfig for the common MDCLXVI style. Maximum value: 3,999 / MMMCMXCIX.
CompactApostrophusRomanNumeralsConfig
The CompactApostrophusRomanNumeralsConfig form of ApostrophusRomanNumeralsConfig uses single characters for each value instead of multiple. 500 will use D. The other characters are ↀ, ↁ, ↂ, ↇ, and ↈ. Maximum value: 399,999.
RomanNumerals
The RomanNumerals class is used solely to store the default Roman numerals configuration, RomansNumeralsConfig.common. You can change this early in runtime so that you don't have to keep passing the config to every method call. See RomansNumeralsConfig.
RomanNumeralsConfig
RomanNumeralsConfig is the base class that defines the behavior for all of the descendent classes and should not be used directly.
VinculumRomanNumeralsConfig
Use VinculumRomanNumeralsConfig for the extended style similar to the the common MDCLXVI style. Maximum value: 3,999,999 / M̅M̅M̅C̅M̅X̅C̅MX̅CMXCIX.

Enums

RomanNumeralsType
RomanNumeralsType enumerates the 3 major types of Roman numerals supported.