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

Styled formatters should give an pattern info #941

Closed MenoData closed 3 years ago

MenoData commented 3 years ago

Unfortunately, expressions like ChronoFormatter.ofMomentStyle(FormatStyle.MEDIUM, FormatStyle.MEDIUM, locale, berlin).getPattern() only offer an empty string up to now. It is not mandatory to obtain the generated internal pattern according to the API, but it would be a nice feature.