This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
new perldelta
[perl5.git] / lib / Time / tm.pm
1 package Time::tm 1.01;
2 use v5.38;
3
4 use Class::Struct qw(struct);
5 struct('Time::tm' => [
6      map { $_ => '$' } qw{ sec min hour mday mon year wday yday isdst }
7 ]);
8
9 __END__
10
11 =head1 NAME
12
13 Time::tm - internal object used by Time::gmtime and Time::localtime
14
15 =head1 SYNOPSIS
16
17 Don't use this module directly.
18
19 =head1 DESCRIPTION
20
21 This module is used internally as a base class by Time::localtime And
22 Time::gmtime functions.  It creates a Time::tm struct object which is
23 addressable just like's C's tm structure from F<time.h>; namely with sec,
24 min, hour, mday, mon, year, wday, yday, and isdst.
25
26 This class is an internal interface only. 
27
28 =head1 AUTHOR
29
30 Tom Christiansen