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

2009-09-09 Thread Carl Mäsak
Darren (>), commit-bot (>>): >> -=head2 Time >> +=head1 Current Time >>  +The epoch used in Perl 6 to represent time instants is the >> +International Atomic Time - TAI - which is independent of calendars, >> +timezones as well as leap seconds. Of course Perl can't go beyond the >> +machine to get

s/ DateTime <-> Instant / TAI /

2009-09-09 Thread Richard Hainsworth
Carl Mäsak wrote: Darren (>), commit-bot (>>): +Returns a TAI epoch value for the current time. Shouldn't the result type of time() be an "Instant" object (Instant and Duration are defined in S02) rather than a "Rat"? I fear that the "Instant" from S02 is a fossil. "Instant" wa

Re: s/ DateTime <-> Instant / TAI /

2009-09-09 Thread Matthew Wilson
Dare I suggest TAIME? I do. On 9/9/09, Richard Hainsworth wrote: > Carl Mäsak wrote: >> Darren (>), commit-bot (>>): >> +Returns a TAI epoch value for the current time. >>> Shouldn't the result type of time() be an "Instant" object (Instant and >>> Duration are defined in S02) rather th

Re: s/ DateTime <-> Instant / TAI /

2009-09-09 Thread Daniel Ruoso
Em Qua, 2009-09-09 às 14:49 +0400, Richard Hainsworth escreveu: > Carl Mäsak wrote: > > I fear that the "Instant" from S02 is a fossil. "Instant" was renamed > > by Dave Rolsky to "DateTime" on 2009-02-19. > There was fairly extensive discussion. My recollection was that > 'Instant' and 'Duration'

r28213 - docs/Perl6/Spec/S32-setting-library

2009-09-09 Thread pugs-commits
Author: ruoso Date: 2009-09-09 14:33:35 +0200 (Wed, 09 Sep 2009) New Revision: 28213 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [spec-S32-Temporal] uses Instant instead of Rat for the return of time(), Allow base Duration type to work with TAI-seconds delegating to Gregori

r28214 - docs/Perl6/Spec/S32-setting-library

2009-09-09 Thread pugs-commits
Author: masak Date: 2009-09-09 14:41:23 +0200 (Wed, 09 Sep 2009) New Revision: 28214 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: fixed minor typo Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod === -

r28215 - docs/Perl6/Spec/S32-setting-library

2009-09-09 Thread pugs-commits
Author: ruoso Date: 2009-09-09 14:56:27 +0200 (Wed, 09 Sep 2009) New Revision: 28215 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [spec-S32-Temporal] move Duration to the top, making it more generic, while it still delegates to Gregorian::Duration if you use anything differe

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

2009-09-09 Thread Mark J. Reed
I think there's some confusion around the term "epoch" in this doc. TAI is not an "epoch", and neither is a time value measured in fixed units from some starting point. The starting point is the epoch. One may speak of the UNIX epoch (January 1, 1970 at midnight GMT), but the current time_t value

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

2009-09-09 Thread Daniel Ruoso
Em Qua, 2009-09-09 às 09:07 -0400, Mark J. Reed escreveu: > I would change the doc to refer to TAI as a "time scale", and also > avoid referring to the numerical value of an Instant as an "epoch". I knew there was something wrong in my use of that terms, please fix it if you like... daniel

Re: s/ DateTime <-> Instant / TAI /

2009-09-09 Thread Darren Duncan
Carl Mäsak wrote: > Darren (>), commit-bot (>>): >>> -=head2 Time >>> +=head1 Current Time >>> +The epoch used in Perl 6 to represent time instants is the >>> +International Atomic Time - TAI - which is independent of calendars, >>> +timezones as well as leap seconds. Of course Perl can't go beyo

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

2009-09-09 Thread Darren Duncan
Mark J. Reed wrote: I think there's some confusion around the term "epoch" in this doc. TAI is not an "epoch", and neither is a time value measured in fixed units from some starting point. The starting point is the epoch. One may speak of the UNIX epoch (January 1, 1970 at midnight GMT), but th