日期格式,Windows 7和Linux的给予2个结果

问题描述:

当下面的代码在Windows 7中运行时,它给人的月份土耳其,但在Linux中也给出了一个月的英语:日期格式,Windows 7和Linux的给予2个结果

new SimpleDateFormat("dd MMMMMM", new Locale("tr")).format(date); 
  • 的Windows 7 - 23Ağustos
  • 的Linux -
  • 8月23日

我想这个月在土耳其的Linux太!

我该怎么做?

Java不支持在Linux操作系统上进行土耳其文编写。 您可以参考以下文档。 Here

下看...

2.Enabled写作系统Java基础类