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.
POSIX::strftime
localtime()
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 http://rt.cpan.org, or in electronic mail to the author.
Thomas R. Wyant, III wyant at cpan dot org
Copyright (C) 2010-2017 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.
To install Astro::App::Satpass2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Astro::App::Satpass2
CPAN shell
perl -MCPAN -e shell install Astro::App::Satpass2
For more information on module installation, please visit the detailed CPAN module installation guide.