Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: c32379ef139b153bc380557935f87b09310cb98a
https://github.com/perl6/specs/commit/c32379ef139b153bc380557935f87b09310cb98a
Author: lue <[email protected]>
Date: 2013-11-30 (Sat, 30 Nov 2013)
Changed paths:
M S32-setting-library/Temporal.pod
Log Message:
-----------
[S32::Temporal] Add Duration object.
Allows creation similar to DateTime objects and provides some accessor
methods (the Duration in years, or days, etc.).
Commit: 97c5bc4e47b819b640fc5f815b861d753ed8aa9c
https://github.com/perl6/specs/commit/97c5bc4e47b819b640fc5f815b861d753ed8aa9c
Author: lue <[email protected]>
Date: 2013-11-30 (Sat, 30 Nov 2013)
Changed paths:
M S32-setting-library/Temporal.pod
Log Message:
-----------
[S32::Temporal] Expand valid ISO 8601 formats.
Temporal now specs support for almost the entire ISO 8601 range of
formats. It almost feels like there should be a separate ISO 8601 header
in this document :) .
The only unmentioned piece of ISO 8601 is the interval specifiers, of
which durations are a part. My suspicion is that:
format... is usable in...
<begin>/<duration> DateTime constructor
<duration>/<end> DateTime constructor
<begin>/<end> Duration constructor
Where each constructor calculates the missing piece and uses that as a
result (end date, start date, and duration, respectively.)
Also missing is C<Instant> documentation, though I'm not sure what to do
with that.
Compare: https://github.com/perl6/specs/compare/2e989c7e21a9...97c5bc4e47b8