2012-09-16 19 views

回答

4

您正在混合分鐘(mm)和幾個月(MM)。從the DateTimeFormat javadoc

Symbol Meaning      Presentation Examples 
------ -------      ------------ ------- 
M  month of year    month   July; Jul; 07 
m  minute of hour    number  30 

同樣的模式符號是通過也用在Java SE自己SimpleDateFormat class的方式。