Author: moritz
Date: 2010-04-21 10:54:00 +0200 (Wed, 21 Apr 2010)
New Revision: 30425

Modified:
   docs/Perl6/Spec/S32-setting-library/Temporal.pod
Log:
[S32::Temporal] remove .daycount method - use $date - $start_of_epoch to obtain 
a day count starting from a fix epoch

Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Temporal.pod    2010-04-20 23:47:57 UTC 
(rev 30424)
+++ docs/Perl6/Spec/S32-setting-library/Temporal.pod    2010-04-21 08:54:00 UTC 
(rev 30425)
@@ -236,22 +236,6 @@
     $d + 3                      # Date.new('2010-12-27')
     3  + $d                     # Date.new('2010-12-27')
 
-=head2 Semi-internal methods
-
-[This section is severely conjectural]
-
-For efficient implementation of arithmetics on C<Date> objects, two more
-methods are exposed:
-
-    $d.daycount
-    Date.new-from-daycount(Int $daycount)
-
-The C<daycount> method returns the difference of number of days between the
-current object and an arbitrary start of epoch. This epoch is arbitrary and
-implementation dependent, and is even allowed to change between invocations of
-the same program. The C<new-from-daycount> constructor creates a new C<Date>
-object with a given daycount.
-
 =head1 Additions
 
 Please post errors and feedback to C<perl6-language>. If you are making

Reply via email to