Closed MenoData closed 4 months ago
Motivated by issue #982
Finally, the class NumberSystem has got two new constants:
CHINESE_LUNAR_DAYS
Chinese day counting (code: hanidays
, supported range: 1-32, applicable especially for days in the old lunisolar calendar)
CHINESE_SIMPLIFIED
Chinese simplified (code: hans
, similar to Chinese Mandarin, main difference is using a simplified notion for zero in printing)
The old constant CHINESE_MANDARIN
has changed its code to: mandarin
.
The proposed constant for traditional Chinese is not necessary because it is not different from Mandarin when handling numbers below 10,000. Keep in mind that this library is mainly a calendrical library and not designed as all-purpose number formatting library.
In addition, a tiny inconsistency for printing the eleventh month of lunisolar calendar was purged in text resources.
Enhance the class NumberSystem with two new constants: