As title,this is a code snippet not encapsuled to a monkey barrel. The source resides at https://github.com/Likenttt/garmin-monkeyc-code-snippets。
公历转换农历代码片段。
As title,this is a code snippet not encapsuled to a monkey barrel. The source resides at https://github.com/Likenttt/garmin-monkeyc-code-snippets。
公历转换农历代码片段。
I have used the root locale for constructing the formatter. It produces the cyclic year in simple latin letters without any diacritic marks. If you might want to use the official pinyin transcription you can apply the English locale instead. The cyclic year would then appear as "jǐ-hài". Special transcriptions using other scripts are supported for the languages Chinese (same script also for january 2023 calendar and Japanese), Vietnamese and Russian. The API-documentation of Time4J can be found online. The doc already contains examples for formatting and parsing the 2023 calendar. But I welcome any further contributions to it or concrete suggestions to improve it.
I'm mainly concerned about programming identifiers such as table and column names in a schema. As such I want English lower casing to apply a 2023 Stromvergleich