develooper Front page | perl.perl6.language | Postings from July 2010

Re: r31696 -[S32/Temporal] Permit day-of-month on Dates.

Thread Previous | Thread Next
From:
yary
Date:
July 15, 2010 10:10
Subject:
Re: r31696 -[S32/Temporal] Permit day-of-month on Dates.
Message ID:
AANLkTil3piiRLcFz2lijwFiBEulhEJB0uoLpVi6-qybd@mail.gmail.com
On Thu, Jul 15, 2010 at 9:21 AM, Mark J. Reed <markjreed@gmail.com> wrote:
> By analogy, I'd say week-of-year should work as well.

Oof, is there a generally accepted for numbering weeks within a year?
A month's boundaries' always coincides with a day's boundary, but a
year only occasionally begins/ends on a week boundary. Come to think
of it, there isn't even consensus on what day of the week constitutes
a week start, even if Perl 6 has chosen a convention.

On the other hand, I won't complain about a "week-of-year" with a good
definition of how it handles weeks 0/1, 52/53. End user can choose to
use it or not. And I'm not too anxious to open up the whole calendar
choice can of worms.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About