Perlguts, version 26
[p5sagit/p5-mst-13.2.git] / lib / Time / tm.pm
CommitLineData
36477c24 1package Time::tm;
2use strict;
3
4use Class::Template qw(struct);
5struct('Time::tm' => [
6 map { $_ => '$' } qw{ sec min hour mday mon year wday yday isdst }
7]);
8
91;
10__END__
11
12=head1 NAME
13
14Time::tm.pm - internal object used by Time::gmtime and Time::localtime
15
16=head1 DESCRIPTION
17
18This module is used internally as a base class by Time::localtime And
19Time::gmtime functions. It creates a Time::tm struct object which is
20addressable just like's C's tm structure from F<time.h>; namely with sec,
21min, hour, mday, mon, year, wday, yday, and isdst.
22
23This class is an internal interface only.
24
25=head1 AUTHOR
26
27Tom Christiansen