Time::UTC

Time::UTC is a Perl module for manipulation of UTC in terms of TAI.
Download

Time::UTC Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Andrew Main
  • Publisher web site:
  • http://search.cpan.org/~zefram/

Time::UTC Tags


Time::UTC Description

Time::UTC is a Perl module for manipulation of UTC in terms of TAI. Time::UTC is a Perl module for manipulation of UTC in terms of TAI.SYNOPSIS use Time::UTC qw( utc_start_segment foreach_utc_segment_when_complete utc_start_tai_instant utc_start_utc_day utc_segment_of_tai_instant utc_segment_of_utc_day ); $seg = utc_start_segment; foreach_utc_segment_when_complete { ... $_ ... }; $instant = utc_start_tai_instant; $day = utc_start_utc_day; $seg = utc_segment_of_tai_instant($instant); $seg = utc_segment_of_utc_day($day); use Time::UTC qw( utc_day_leap_seconds utc_day_seconds utc_check_instant ); $secs = utc_day_leap_seconds($day); $secs = utc_day_seconds($day); utc_check_instant($day, $secs); use Time::UTC qw(tai_to_utc utc_to_tai); ($day, $secs) = tai_to_utc($instant); $instant = utc_to_tai($day, $secs); use Time::UTC qw( utc_secs_to_hms utc_hms_to_secs utc_day_to_ymd utc_ymd_to_day utc_instant_to_ymdhms utc_ymdhms_to_instant ); ($hr, $mi, $sc) = utc_secs_to_hms($secs); $secs = utc_hms_to_secs($hr, $mi, $sc); ($yr, $mo, $dy) = utc_day_to_ymd($day); $day = utc_ymd_to_day($yr, $mo, $dy); ($yr, $mo, $dy, $hr, $mi, $sc) = utc_instant_to_ymdhms($day, $secs); ($day, $secs) = utc_ymdhms_to_instant( $yr, $mo, $dy, $hr, $mi, $sc); use Time::UTC qw( utc_day_to_mjdn utc_mjdn_to_day utc_day_to_cjdn utc_cjdn_to_day ); $mjdn = utc_day_to_mjdn($day); $day = utc_mjdn_to_day($mjdn); $cjdn = utc_day_to_cjdn($day); $day = utc_cjdn_to_day($cjdn); Requirements: · Perl


Time::UTC Related Software