每当我将系统语言更改为加拿大英语时,即上午和下午。符号必须小写,否则总是大写
实际:
预期:
simpleDateFormat()的代码:
public SimpleDateFormat(String pattern, Locale locale)
{
if (pattern == null || locale == null) {
throw new NullPointerException();
}
initializeCalendar(locale);
this.pattern = pattern;
this.formatData = DateFormatSymbols.getInstanceRef(locale);
this.locale = locale;
initialize(locale);
}