Tom Wyant
and 1 contributors


Astro::App::Satpass2::FormatTime::POSIX::Strftime - Format time using POSIX::strftime


 use Astro::App::Satpass2::FormatTime::POSIX::Strftime;
 my $tf = Astro::App::Satpass2::FormatTime::POSIX::Strftime->new();
 print 'It is now ',
     $tf->format_datetime( '%H:%M:%S', time, 1 ),
     " GMT\n";


This class and its subclasses are private to the Astro::App::Satpass2 package. The author reserves the right to add, change, or retract functionality without notice.


This subclass of Astro::App::Satpass2::FormatTime formats times using POSIX::strftime. Time zones other than the default local zone are handled by setting $ENV{TZ} from the tz attribute before calling localtime(), but this is unsupported by the localtime() built-in. It may work, but if it does not there is nothing I can do about it.


This class provides no public methods over and above those provided by Astro::App::Satpass2::FormatTime and Astro::App::Satpass2::FormatTime::Strftime.


Support is by the author. Please file bug reports at, or in electronic mail to the author.


Thomas R. Wyant, III wyant at cpan dot org


Copyright (C) 2010-2018 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.