SSS在org.apache.log4j.helpers.ISO8601DateFormat中表示什么?

时间:2014-02-28 17:23:55

标签: java date log4j

JavaDoc说:

  

以“yyyy-MM-dd HH:mm:ss,SSS”格式格式化日期,例如   “1999-11-27 15:49:37,459”。

它们是000-999之间的毫秒数? The summary of the international standard date and time notation没有提到毫秒。

1 个答案:

答案 0 :(得分:3)

它格式化日期。在日期格式中,“SSS”模式表示从000到999的毫秒数,因此您是正确的。

相关问题