Java DateTimeFormatter to CLDR / ICU pattern.

Every Java DateTimeFormatter field maps cleanly — the table below is the whole story.

CLDR / ICU pattern

yyyy-MM-dd HH:mm

Reference · Mon, Jan 2 2006, 3:04:05 PM MST

yyyy-01-02 15:04

yyyy-01-02 15:04

Right now, your zone

Not in the Java DateTimeFormatter table: y — passed through untranslated.