Re: r30398 - docs/Perl6/Spec/S32-setting-library

2010-04-21 Thread Moritz Lenz
Am 20.04.2010 16:59, schrieb Dave Rolsky: On Fri, 16 Apr 2010, pugs-comm...@feather.perl6.nl wrote: +=head2 Semi-internal methods + +[This section is severely conjectural] + +For efficient implementation of arithmetics on C objects, two more +methods are exposed: + + $d.daycount + Date.new-from

Re: r30398 - docs/Perl6/Spec/S32-setting-library

2010-04-20 Thread Mark J. Reed
On Tue, Apr 20, 2010 at 10:59 AM, Dave Rolsky wrote: > I'd _really_ like to see this be based on Rata Die, which is January 1, > 0001. See http://en.wikipedia.org/wiki/Rata_Die > To be clear, that's specifically January 1, 1 CE in the retrojected Gregorian calendar, which is the same day as Janu

Re: r30398 - docs/Perl6/Spec/S32-setting-library

2010-04-20 Thread Dave Rolsky
On Fri, 16 Apr 2010, pugs-comm...@feather.perl6.nl wrote: +=head2 Semi-internal methods + +[This section is severely conjectural] + +For efficient implementation of arithmetics on C objects, two more +methods are exposed: + +$d.daycount +Date.new-from-daycount(Int $daycount) I'd _reall

Re: r30398 - docs/Perl6/Spec/S32-setting-library

2010-04-16 Thread Mark J. Reed
" On Friday, April 16, 2010, Mark J. Reed wrote: > or at least, Date should have a method that returns it's value as > pairs suitable for passing to DateTime.new. Obviously that should be "its value". Thank you, iPhone, for thinking you know better than I how to punctuate. :) -- Mark J. Reed