To get local formatting use getDateInstance(), getDateTimeInstance(), or getTimeInstance(), or use new SimpleDateFormat(String template, Locale locale) with for example Locale.US for ASCII dates.



なんか最近Javaのワーニングうるさいなー

ちょこちょこ対処してるのでメモ



myTextView.setText(new SimpleDateFormat("yyyy'年'MM'月'dd'日'").format(new Date()));



myTextView.setText(new SimpleDateFormat("yyyy'年'MM'月'dd'日'",Locale.JAPANESE).format(new Date()));



Localeを書けば良いだけ。

Locale.JAPANESE とか Locale.US とか、変えてやってください(・ω・)ノ