Astro::App::Satpass2::ParseTime::ISO8601 - Astro::App::Satpass2 minimal ISO-8601 parser
No user-serviceable parts inside.
This class parses ISO-8601 dates.
It does not do ordinal days or weeks,
but it is rather permissive on punctuation,
and permits the convenience dates
This class understands ISO-8601 time zone specifications of the form 'Z',
but it knows nothing about shifts for summer time.
2009/7/1 12:00:00 -5 is 5:00 PM GMT,
not 4:00 PM.
An attempt to set any other time zone will result in a warning,
and the system default zone being used.
As an extension to the ISO-8601 standard,
years can be followed by an era specification,
which is one of
'CE' without regard to case.
The era indicator may be separated from the year by white space,
and be followed by a non-digit separator character.
Unless the era is specified,
years less than
70 will have
and years at least equal to
70 but less than
100 will have
If DateTime can be loaded, it will be used to get an epoch from the parsed date. Otherwise Time::Local will be used. Time::Local has its own quirks when it sees a year in the distant past. See its documentation for more information.
This class supports no public methods over and above those documented in its superclass Astro::App::Satpass2::ParseTime.
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) 2009-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.