NAME

Astro::App::Satpass2::FormatTime::DateTime::Strftime - Format time using DateTime->strftime()

SYNOPSIS

use Astro::App::Satpass2::FormatTime::DateTime::Strftime;
my $tf = Astro::App::Satpass2::FormatTime::DateTime::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::DateTime formats times using DateTime-strftime()>. Time zones other than the default local zone are handled using DateTime::TimeZone objects.

All this class really provides is the interface to DateTime->strftime(). Everything else is inherited.

The DateTime strftime() template extensions have been further extended to add '%{calendar_name}' and some control over formatting. See the documentation to Astro::App::Satpass2::FormatTime::DateTime __preprocess_strftime_format() for the details.

METHODS

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

SUPPORT

Support is by the author. Please file bug reports at https://rt.cpan.org/Public/Dist/Display.html?Name=Astro-App-Satpass2, https://github.com/trwyant/perl-Astro-App-Satpass2/issues, or in electronic mail to the author.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2010-2026 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 files LICENSE-Artistic and LICENSE-GPL.

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.