Author: autarch
Date: 2009-02-20 21:33:45 +0100 (Fri, 20 Feb 2009)
New Revision: 25462
Modified:
docs/Perl6/Spec/S32-setting-library/Temporal.pod
Log:
Some formatting tweaks - also remove returns from overloading methods like Str
& Num
Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Temporal.pod 2009-02-20 20:30:29 UTC
(rev 25461)
+++ docs/Perl6/Spec/S32-setting-library/Temporal.pod 2009-02-20 20:33:45 UTC
(rev 25462)
@@ -137,8 +137,8 @@
my subset Offset of Int where { -86400 < $^a < 86400 };
has Offset $.offset;
- has Bool $.isdst;
- has Str $.abbreviation; # CST, AST
+ has Bool $.isdst;
+ has Str $.abbreviation; # CST, AST
# The ISO8601 standard does not allow for offsets with
# sub-minute resolutions. In real-world practice, this is not
@@ -174,15 +174,15 @@
method iso8601 () returns Str
{ self.date.is8601 ~ 'T' ~ self.time.iso8601 ~
self.timezone.iso8601 }
- method Str return Str { self.iso8601 }
+ method Str { self.iso8601 }
# This involves a whole bunch of code - see Perl 5's
# Time::Local
method epoch returns Num { ... }
- method Int returns Int { self.epoch.truncate }
+ method Int { self.epoch.truncate }
- method Num returns Num { self.epoch }
+ method Num { self.epoch }
}
=head1 Additions