summaryrefslogtreecommitdiff
path: root/lib/Time
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2008-09-19 14:46:48 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-01-03 18:38:13 +0100
commit65a38213a55474ae493d2619f0ad5b8a4179b879 (patch)
tree7a6b769e9514a1915b9b7072222ceb58d6866d88 /lib/Time
parent003c3b95c240e89f34634d04b5a19f87f493aad8 (diff)
downloadperl-65a38213a55474ae493d2619f0ad5b8a4179b879.tar.gz
We are no longer slaves to the vagaries of time_t.
Diffstat (limited to 'lib/Time')
-rw-r--r--lib/Time/Local.pm21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/Time/Local.pm b/lib/Time/Local.pm
index b83bb1a7dd..e5c4f886d3 100644
--- a/lib/Time/Local.pm
+++ b/lib/Time/Local.pm
@@ -272,16 +272,6 @@ absolute four digit year instead.
The scheme above allows interpretation of a wide range of dates,
particularly if 4-digit years are used.
-=head2 Limits of time_t
-
-The range of dates that can be actually be handled depends on the size
-of C<time_t> (usually a signed integer) on the given
-platform. Currently, this is 32 bits for most systems, yielding an
-approximate range from Dec 1901 to Jan 2038.
-
-Both C<timelocal()> and C<timegm()> croak if given dates outside the
-supported range.
-
=head2 Ambiguous Local Times (DST)
Because of DST changes, there are many time zones where the same local
@@ -304,17 +294,6 @@ for the "Europe/Paris" time zone, the local clock jumped from
If the C<timelocal()> function is given a non-existent local time, it
will simply return an epoch value for the time one hour later.
-=head2 Negative Epoch Values
-
-Negative epoch (C<time_t>) values are not officially supported by the
-POSIX standards, so this module's tests do not test them. On some
-systems, they are known not to work. These include MacOS (pre-OSX) and
-Win32.
-
-On systems which do support negative epoch values, this module should
-be able to cope with dates before the start of the epoch, down the
-minimum value of time_t for the system.
-
=head1 IMPLEMENTATION
These routines are quite efficient and yet are always guaranteed to