NAME

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

SYNOPSIS

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";

NOTICE

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.

DETAILS

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.

METHODS

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

SUPPORT

Support is by the author. Please file bug reports at https://rt.cpan.org, or in electronic mail to the author.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2010-2020 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.