Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
698 B

  1. package Time::tm;
  2. use strict;
  3. use Class::Struct qw(struct);
  4. struct('Time::tm' => [
  5. map { $_ => '$' } qw{ sec min hour mday mon year wday yday isdst }
  6. ]);
  7. 1;
  8. __END__
  9. =head1 NAME
  10. Time::tm - internal object used by Time::gmtime and Time::localtime
  11. =head1 SYNOPSIS
  12. Don't use this module directly.
  13. =head1 DESCRIPTION
  14. This module is used internally as a base class by Time::localtime And
  15. Time::gmtime functions. It creates a Time::tm struct object which is
  16. addressable just like's C's tm structure from F<time.h>; namely with sec,
  17. min, hour, mday, mon, year, wday, yday, and isdst.
  18. This class is an internal interface only.
  19. =head1 AUTHOR
  20. Tom Christiansen