MenoData / Time4J

Advanced date, time and interval library for Java with sun/moon-astronomy and calendars like Chinese, Coptic, Ethiopian, French Republican, Hebrew, Hijri, Historic Christian, Indian National, Japanese, Julian, Korean, Minguo, Persian, Thai, Vietnamese
GNU Lesser General Public License v2.1
424 stars 62 forks source link

Make PatternType.CLDR_DATE applicable on PlainDate #889

Closed MenoData closed 4 years ago

MenoData commented 4 years ago

Originally this special subset of CLDR-pattern-symbols is only applicable on non-ISO-calendars, but it is nice to be used for PlainDate, too (although non-trivial because of the need to extra support historic dates).

This former constraint was mentioned in the public javadoc but in a very hidden place, so it was also somehow confusing. Of course, the simple workaround until now is to just use PatternType.CLDR.