Formatting time with en_GB locale gives different results in Android and standard Java

后端 未结 0 542
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-29 03:27
Locale locale = new Locale(\"en\", \"GB\");
DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT, locale);
System.out.println(df.format(new Date()));
相关标签:
回答
  • 消灭零回复
提交回复
热议问题