xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Time/tm.pm (revision 0:68f95e015346)
1*0Sstevel@tonic-gatepackage Time::tm;
2*0Sstevel@tonic-gateuse strict;
3*0Sstevel@tonic-gate
4*0Sstevel@tonic-gateour $VERSION = '1.00';
5*0Sstevel@tonic-gate
6*0Sstevel@tonic-gateuse Class::Struct qw(struct);
7*0Sstevel@tonic-gatestruct('Time::tm' => [
8*0Sstevel@tonic-gate     map { $_ => '$' } qw{ sec min hour mday mon year wday yday isdst }
9*0Sstevel@tonic-gate]);
10*0Sstevel@tonic-gate
11*0Sstevel@tonic-gate1;
12*0Sstevel@tonic-gate__END__
13*0Sstevel@tonic-gate
14*0Sstevel@tonic-gate=head1 NAME
15*0Sstevel@tonic-gate
16*0Sstevel@tonic-gateTime::tm - internal object used by Time::gmtime and Time::localtime
17*0Sstevel@tonic-gate
18*0Sstevel@tonic-gate=head1 SYNOPSIS
19*0Sstevel@tonic-gate
20*0Sstevel@tonic-gateDon't use this module directly.
21*0Sstevel@tonic-gate
22*0Sstevel@tonic-gate=head1 DESCRIPTION
23*0Sstevel@tonic-gate
24*0Sstevel@tonic-gateThis module is used internally as a base class by Time::localtime And
25*0Sstevel@tonic-gateTime::gmtime functions.  It creates a Time::tm struct object which is
26*0Sstevel@tonic-gateaddressable just like's C's tm structure from F<time.h>; namely with sec,
27*0Sstevel@tonic-gatemin, hour, mday, mon, year, wday, yday, and isdst.
28*0Sstevel@tonic-gate
29*0Sstevel@tonic-gateThis class is an internal interface only.
30*0Sstevel@tonic-gate
31*0Sstevel@tonic-gate=head1 AUTHOR
32*0Sstevel@tonic-gate
33*0Sstevel@tonic-gateTom Christiansen
34