diff options
author | Dave Rolsky <autarch@urth.org> | 2007-10-31 07:26:02 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-11-02 10:04:34 +0000 |
commit | 5f4126c4053727fca3daf460aeaca04d8744eb97 (patch) | |
tree | 003980c9f6b36a94ec2d6510fef71fa67e019e37 /lib/Time | |
parent | 8f95267c958b61f3eebefee65cef169136d932b0 (diff) | |
download | perl-5f4126c4053727fca3daf460aeaca04d8744eb97.tar.gz |
- Update Time::Local to latest version
Message-ID: <alpine.DEB.0.9999.0710311225010.19396@urth.org>
p4raw-id: //depot/perl@32211
Diffstat (limited to 'lib/Time')
-rw-r--r-- | lib/Time/Local.pm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/Time/Local.pm b/lib/Time/Local.pm index d7fe0232ad..764e27e366 100644 --- a/lib/Time/Local.pm +++ b/lib/Time/Local.pm @@ -7,7 +7,7 @@ use strict; use integer; use vars qw( $VERSION @ISA @EXPORT @EXPORT_OK ); -$VERSION = '1.17'; +$VERSION = '1.18'; @ISA = qw( Exporter ); @EXPORT = qw( timegm timelocal ); @@ -222,12 +222,16 @@ C<localtime()> and C<gmtime()>. =head1 FUNCTIONS +=head2 C<timelocal()> and C<timegm()> + This module exports two functions by default, C<timelocal()> and C<timegm()>. The C<timelocal()> and C<timegm()> functions perform range checking on the input $sec, $min, $hour, $mday, and $mon values by default. +=head2 C<timelocal_nocheck()> and C<timegm_nocheck()> + If you are working with data you know to be valid, you can speed your code up by using the "nocheck" variants, C<timelocal_nocheck()> and C<timegm_nocheck()>. These variants must be explicitly imported. @@ -350,6 +354,15 @@ Please submit bugs to the CPAN RT system at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Time-Local or via email at bug-time-local@rt.cpan.org. +=head1 COPYRIGHT + +Copyright (c) 1997-2003 Graham Barr, 2003-2007 David Rolsky. All +rights reserved. This program is free software; you can redistribute +it and/or modify it under the same terms as Perl itself. + +The full text of the license can be found in the LICENSE file included +with this module. + =head1 AUTHOR This module is based on a Perl 4 library, timelocal.pl, that was |