Author: lwall
Date: 2009-05-23 21:04:56 +0200 (Sat, 23 May 2009)
New Revision: 26922
Modified:
docs/Perl6/Spec/S32-setting-library/Temporal.pod
Log:
[Temporal.pod] prefer Rat from time()
Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Temporal.pod 2009-05-23 14:08:51 UTC
(rev 26921)
+++ docs/Perl6/Spec/S32-setting-library/Temporal.pod 2009-05-23 19:04:56 UTC
(rev 26922)
@@ -17,8 +17,8 @@
Daniel Ruoso <[email protected]>
Dave Rolsky <[email protected]>
Date: 19 Mar 2009 extracted from S29-functions.pod and S16-IO.pod
- Last Modified: 19 Feb 2009
- Version: 2
+ Last Modified: 23 Feb 2009
+ Version: 3
The document is a draft.
@@ -28,11 +28,14 @@
=head2 Time
+Note that C<Num>
+
=over
=item gmtime
- our Temporal::DateTime multi gmtime ( Num $epoch? = time() )
+ our Temporal::DateTime multi gmtime ( Num $epoch = time() )
+ our Temporal::DateTime multi gmtime ( Rat $epoch = time() )
Identical to:
@@ -40,7 +43,8 @@
=item localtime
- our Temporal::DateTime multi localtime ( Num $epoch? = time() )
+ our Temporal::DateTime multi localtime ( Num $epoch = time() )
+ our Temporal::DateTime multi localtime ( Rat $epoch = time() )
These functions take an epoch value and return a C<Temporal::DateTime>
object. For C<localtime> the time zone is taken from the local
@@ -50,7 +54,7 @@
=item time
- our Num time()
+ our Rat time()
Returns an epoch value for the current time.