问题如题目
我在文档里看到
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和普通的到底什么区别,求举例
I found this answer on stackoverflow:
ISO 8601 format roughly means:
If January 1st falls on Monday, Tuesday, Wednesday or Thursday, it is in week 01. If January 1st falls on a Friday, Saturday or Sunday, it is in week 52 or 53 of the previous year
Source: http://stackoverflow.com/questions/78...
Hope this helps