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

r31680 -[S32/Temporal] Added to Date: "There are also C<week>, C<week-year>, C<week-number>, C<weekday-of-month>, and C<day-of-year> methods, which work just like their DateTime equivalents."

From:
pugs-commits
Date:
July 14, 2010 07:35
Subject:
r31680 -[S32/Temporal] Added to Date: "There are also C<week>, C<week-year>, C<week-number>, C<weekday-of-month>, and C<day-of-year> methods, which work just like their DateTime equivalents."
Message ID:
20100714143546.4760.qmail@feather.perl6.nl
Author: Kodi
Date: 2010-07-14 16:35:46 +0200 (Wed, 14 Jul 2010)
New Revision: 31680

Modified:
   docs/Perl6/Spec/S32-setting-library/Temporal.pod
Log:
[S32/Temporal] Added to Date: "There are also C<week>, C<week-year>, C<week-number>, C<weekday-of-month>, and C<day-of-year> methods, which work just like their DateTime equivalents."

Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Temporal.pod	2010-07-14 14:35:21 UTC (rev 31679)
+++ docs/Perl6/Spec/S32-setting-library/Temporal.pod	2010-07-14 14:35:46 UTC (rev 31680)
@@ -16,7 +16,7 @@
     Created: 19 Mar 2009
 
     Last Modified: 14 Jul 2010
-    Version: 11
+    Version: 12
 
 The document is a draft.
 
@@ -244,6 +244,9 @@
     $d.days-in-month    # 31
     $d.Str              # '2010-12-24'
 
+There are also C<week>, C<week-year>, C<week-number>, C<weekday-of-month>,
+and C<day-of-year> methods, which work just like their DateTime equivalents.
+
 =head2 Arithmetics
 
     $d.succ                     # Date.new('2010-12-25')




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About