Expand description
§Kalendarium
This rust library contains modules for converting Arabic numerals into Roman numerals, and for converting dates into the Kalendarium Romanum.
The largest valid numeral is 9,999,999. Though the Romans did not have an explicit symbol for 0 (ZERO), this library employs nulla (N) as zero, always uppercase.
Numbers 4000 and larger are represented using the vinculum system, wereby a bar over symbols, which multiples everything underneath by 1000. For example: I̅V̅ for 4,000 (using unicode long macron as the bar symbol).
Structs§
- Kalendarium
- A Kalendarium Romanum object
- OutOf
Range Error - Returned as an error if a numeral is constructed with an invalid input
- Roman
Numeral - A Roman numeral
Constants§
Type Aliases§
- Result
Resultwith error defaulted toxvii::Error