"
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
I would only add that I think the DateTime constructor should accept a
Date object:
my $bday = new Date.new(1968, 5, 5);
my $specifically = DateTime.new(:date($bday), :hour(20), :minute(47));
or at least, Date should have a method that returns it's value as
pairs suitable for passing to DateTime.
Author: moritz
Date: 2010-04-16 22:40:37 +0200 (Fri, 16 Apr 2010)
New Revision: 30398
Modified:
docs/Perl6/Spec/S32-setting-library/Temporal.pod
Log:
[S32/Temporal] spec Date type
This is heavily inspired by Date::Simple on CPAN, and mostly implemented
at http://github.com/moritz/Date/ as an e