问题如题目
我在文档里看到
A common mistake is to use YYYY. yyyy specifies the calendar year whereas YYYY specifies the year (of “Week of Year”), used in the ISO year-week calendar. In most cases, yyyy and YYYY yield the same number, however they may be different. Typically you should use the calendar year.
但是这个Week of Year和普通的到底什么区别,求举例
在stackoverflow 找到了这样的回答:
ISO 8601 format的大概意思是:
如果一月1日是星期一,星期二,星期三或星期四,它是在01周。如果一月1日是星期五,星期六或星期日,它在前一年的52周或53周
出处:http://stackoverflow.com/questions/78...
希望能有帮助