| 1 | # | ||
| 2 | # Copyright (c) 2003,2004,2005 Alexander Taler (dissent@0--0.org) | ||
| 3 | # | ||
| 4 | # All rights reserved. This program is free software; you can redistribute it | ||
| 5 | # and/or modify it under the same terms as Perl itself. | ||
| 6 | # | ||
| 7 | |||
| 8 | package VCS::LibCVS::Datum::Time; | ||
| 9 | |||
| 10 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | VCS::LibCVS::Datum::Time - A CVS datum for a time | ||
| 16 | |||
| 17 | =head1 SYNOPSIS | ||
| 18 | |||
| 19 | $string = VCS::LibCVS::Datum::Time->new("Mon Dec 16 16:49:16 2002"); | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | A time in CVS format. | ||
| 24 | |||
| 25 | =head1 SUPERCLASS | ||
| 26 | |||
| 27 | VCS::LibCVS::Datum | ||
| 28 | |||
| 29 | =cut | ||
| 30 | |||
| 31 | # Should use a date class. See [Issue 22]. | ||
| 32 | |||
| 33 | ############################################################################### | ||
| 34 | # Class constants | ||
| 35 | ############################################################################### | ||
| 36 | |||
| 37 | 1 | ▶ | use constant REVISION => '$Header: /cvsroot/libcvs-perl/libcvs-perl/VCS/LibCVS/Datum/Time.pm,v 1.9 2005/10/10 12:52:12 dissent Exp $ '; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 38 | |||
| 39 | 1 | ▶ | use vars ('@ISA'); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 40 | 1 | @ISA = ("VCS::LibCVS::Datum"); | |
| 41 | |||
| 42 | ############################################################################### | ||
| 43 | # Class variables | ||
| 44 | ############################################################################### | ||
| 45 | |||
| 46 | ############################################################################### | ||
| 47 | # Private variables | ||
| 48 | ############################################################################### | ||
| 49 | |||
| 50 | ############################################################################### | ||
| 51 | # Class routines | ||
| 52 | ############################################################################### | ||
| 53 | |||
| 54 | ############################################################################### | ||
| 55 | # Instance routines | ||
| 56 | ############################################################################### | ||
| 57 | |||
| 58 | ############################################################################### | ||
| 59 | # Private routines | ||
| 60 | ############################################################################### | ||
| 61 | |||
| 62 | 0 | ▶ | sub _data_names { return ("Time"); } |
|
Subroutine
_data_names: not called CC=1 SCAR=6.9
| |||
| 63 | |||
| 64 | =head1 SEE ALSO | ||
| 65 | |||
| 66 | VCS::LibCVS::Datum | ||
| 67 | |||
| 68 | =cut | ||
| 69 | |||
| 70 | 1 | 1; | |