DateTime::Duration::TauStation - TauStation GCT duration objects.
use DateTime::Calendar::TauStation; use DateTime::Format::TauStation; my $dur = DateTime::Format::TauStation->parse_duration( 'D/20:000 GCT' ); my $dt = DateTime::Calendar::TauStation->now->add_duration( $dur ); print DateTime::Format::TauStation->format_datetime($dt);
DateTime::Duration subclass for GCT (Galactic Coordinated Time) datetimes for the online game TauStation.
Returns the sign portion of a duration.
sign
Returns the cycle portion of a duration.
cycle
Returns the day portion of a duration.
day
Returns the segment portion of a duration.
segment
Returns the unit portion of a duration.
unit
Carl Franks
Copyright (c) 2018 Carl Franks.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
DateTime::Calendar::TauStation, DateTime::Format::TauStation
To install DateTime::Calendar::TauStation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::Calendar::TauStation
CPAN shell
perl -MCPAN -e shell install DateTime::Calendar::TauStation
For more information on module installation, please visit the detailed CPAN module installation guide.