ICU-11533 limited Myanmar calendar support #3482
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
A while ago I proposed PR #630 to add the Myanmar lunar-based calendar (aka Burmese calendar) to ICU. This calendar is frequently used for birthdays and on official documents.
After difficulties with supporting and testing the complete calendar and older dates, I closed the PR last year.
Goals
This new PR adds a limited Myanmar calendar that changes only the year; for example today (April 23, 2025 AD) would be represented as April 23, 1387 ME. This is similar to the modern Thai calendar (Buddhist / buddhcal in ICU).
A place in ICU and CLDR sets a foundation to support the months and days of the civil lunar cycle either in future updates or a region-specific API.
Representing Myanmar new year
The Myanmar new year (Thingyan) consistently falls in mid-April. This is possible by occurring at different dates or even different months on the complete Myanmar calendar; for example the current Myanmar year started on the 20th day of Tagu, and the next will start on the 2nd day of Kason.
This PR would increment years on April 17th: