tadf (tadayoshi funaba) wrote:
A period of time of seven days within a calendar year, starting on a
Monday and identified by its ordinal number within the year; the first
calendar week of the year is the one that includes the first Thursday
of that year. In the Gregorian calendar, this is equivalent to the
week which includes 4 January.
This may not yet be completely clear, because it says "within a [calendar] year" twice. The following quote, from http://en.wikipedia.org/wiki/ISO_week_date, is even clearer:
"ISO week-numbering years have a year numbering which is approximately the same as the Gregorian years, but not exactly since an ISO week-numbering year (also called ISO year or week year informally) has 52 or 53 full weeks. That is 364 or 371 days instead of the usual 365 or 366 days."
It may be a good idea to add the following example (borrowed from cwyear
)
Date.new(2000,1,1).cweek #=> 53, see Date#cwyear
Tadayoshi, I can do that if you are okay.