NAME
DateTime::Duration::TauStation - TauStation GCT duration objects.
SYNOPSIS
use DateTime::TauStation;
use DateTime::Format::TauStation;
my $dur = DateTime::Format::TauStation->parse_duration( 'D/20:000 GCT' );
my $dt = DateTime::TauStation->now->add_duration( $dur );
print DateTime::Format::TauStation->format_datetime($dt);
DESCRIPTION
DateTime::Duration subclass for GCT (Galactic Coordinated Time) datetimes for the online game TauStation.
METHODS
gct_cycles
Returns the cycle
portion of a duration.
gct_days
Returns the day
portion of a duration.
gct_segments
Returns the segment
portion of a duration.
gct_units
Returns the unit
portion of a duration.
Limitations
Currently does not support negative GCT (pre-catastrophe) dates or negative durations.
AUTHOR
Carl Franks
COPYRIGHT
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.