NAME
Astro::App::Satpass2::ParseTime::Date::Manip - Parse time for Astro::App::Satpass2 using Date::Manip
SYNOPSIS
my $delegate = Astro::App::Satpass2::ParseTime::Date::Manip->delegate();
DETAILS
This class is simply a trampoline for Astro::App::Satpass2::ParseTime->new() to determine which Date::Manip class to use.
METHODS
This class supports the following public methods:
back_end
$pt->back_end( 'Date::Manip::Date' );
my $back_end = $pt->back_end();
This method is both accessor and mutator for the object's back end class name. This class must be a subclass of Date::Manip::Date.
delegate
my $delegate = Astro::App::Satpass2::ParseTime::Date::Manip->delegate();
This static method returns the class that should be used based on which version of Date::Manip could be loaded. If Date::Manip->VERSION() returns a number less than 6, 'Astro::App::Satpass2::ParseTime::Date::Manip::v5' is returned. If it returns 6 or greater, 'Astro::App::Satpass2::ParseTime::Date::Manip::v6' is returned. If Date::Manip can not be loaded, undef is returned.
station
$pt->station( $satpass2->station() );
my $station = $pt->station();
This method is both accessor and mutator for the object's station attribute. This must be an Astro::Coord::ECI object, or undef.
This attribute is used to set the back end's location config item. If the back end does not have this config item, the fact is ignored -- silently, with any luck.
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) 2009-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.