This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
inc version (for CPAN.pm sanity)
[perl5.git] / lib / Time / tm.pm
CommitLineData
36477c24 1package Time::tm;
2use strict;
3
8cc95fdb 4use Class::Struct qw(struct);
36477c24 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
2ae324a7 14Time::tm - internal object used by Time::gmtime and Time::localtime
36477c24 15
b133f4ec
RS
16=head1 SYNOPSIS
17
18Don't use this module directly.
19
36477c24 20=head1 DESCRIPTION
21
22This module is used internally as a base class by Time::localtime And
23Time::gmtime functions. It creates a Time::tm struct object which is
24addressable just like's C's tm structure from F<time.h>; namely with sec,
25min, hour, mday, mon, year, wday, yday, and isdst.
26
27This class is an internal interface only.
28
29=head1 AUTHOR
30
31Tom Christiansen