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

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

Thread Previous | Thread Next
Moritz Lenz
April 21, 2010 02:03
Re: r30398 - docs/Perl6/Spec/S32-setting-library
Message ID:
Am 20.04.2010 16:59, schrieb Dave Rolsky:
> On Fri, 16 Apr 2010, wrote:
>> +=head2 Semi-internal methods
>> +
>> +[This section is severely conjectural]
>> +
>> +For efficient implementation of arithmetics on C<Date> objects, two more
>> +methods are exposed:
>> +
>> + $d.daycount
>> + $daycount)
> I'd _really_ like to see this be based on Rata Die, which is January 1,
> 0001. See

Your answer made it clear to me that people are not going to like the 
daycount (or day-count) accessor. I consciously did not specify an epoch 
on which daycount was based because I didn't want to force the 
implemntor's hand more than absolutely necessary.

Since number-of-days-relative-to-a-fixed-epoch is still available 
trivially as $date - $start-of-epoch I've now removed the daycount 
related methods.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About