Month和java.util.Formatter

前端之家收集整理的这篇文章主要介绍了Month和java.util.Formatter前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
javadoc of java.util.Formatter我读到:
@H_403_3@‘m’ Month,formatted as two digits with leading zeros as necessary,
i.e. 01 – 13.

@H_403_3@为什么13?

解决方法

Javadoc解释了为什么……
@H_403_3@‘m’ ‘\u006d’ Month,i.e. 01 – 13,where “01” is the first month of the year and (“13” is a special value required to support lunar calendars).

猜你在找的Java相关文章