NAME

DateTime::Duration::TauStation - TauStation GCT duration objects.

SYNOPSIS

  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);

DESCRIPTION

DateTime::Duration subclass for GCT (Galactic Coordinated Time) datetimes for the online game TauStation.

gct_sign

Returns the sign portion of a duration.

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.

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.

SEE ALSO

DateTime::Calendar::TauStation, DateTime::Format::TauStation