-# $Id: Test.pm,v 1.6 2006-10-13 10:08:57 sondberg Exp $
+# $Id: Test.pm,v 1.7 2006-11-29 18:16:21 mike Exp $
package ZOOM::IRSpy::Test;
use strict;
use warnings;
-use Exporter 'import';
-our @EXPORT = qw(isodate);
-
=head1 NAME
ZOOM::IRSpy::Test - base class for tests in IRSpy
}
-
-# Utility function, really nothing to do with IRSpy
-sub isodate {
- my($time) = @_;
-
- my($sec, $min, $hour, $mday, $mon, $year) = localtime($time);
- return sprintf("%04d-%02d-%02dT%02d:%02d:%02d",
- $year+1900, $mon+1, $mday, $hour, $min, $sec);
-}
-
-
=head1 SEE ALSO
ZOOM::IRSpy