Proposal for custom time string formatting in std.datetime
Jonathan M Davis
jmdavisProg at gmx.com
Fri Dec 23 03:27:50 PST 2011
On Friday, December 23, 2011 11:21:48 Stewart Gordon wrote:
> I said "week-numbering year". How can that phrase mean a kind of week?
Because I've never heard of it, and I misunderstood it.
> The week-numbering year is the year to which the ISO week belongs. Most of
> the time this corresponds to the actual year, but around year boundaries it
> sometimes differs by 1. For example, week 52 of 2011 goes from 2011-12-26
> to 2012-01-01 inclusive. The last of these dates isn't in the calendar
> year 2011, but it is still in the ISO week 2011-W52, so the week-numbering
> year is 2011.
A flag for that could be added easily enough.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list