Class: IERS::TaiUtcDrift::Segment Private

Inherits:
Data
  • Object
show all
Defined in:
lib/iers/tai_utc_drift.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Attribute Details

#offsetRational (readonly)

TAI-UTC in seconds at reference_mjd (not at start_mjd: several segments measure their rate from an earlier MJD)

Returns:

  • (Rational)

    the current value of offset



23
24
25
# File 'lib/iers/tai_utc_drift.rb', line 23

def offset
  @offset
end

#rateRational (readonly)

seconds of TAI-UTC per day of MJD

Returns:

  • (Rational)

    the current value of rate



23
24
25
# File 'lib/iers/tai_utc_drift.rb', line 23

def rate
  @rate
end

#reference_mjdInteger (readonly)

the MJD the rate is measured from

Returns:

  • (Integer)

    the current value of reference_mjd



23
24
25
# File 'lib/iers/tai_utc_drift.rb', line 23

def reference_mjd
  @reference_mjd
end

#start_mjdInteger (readonly)

first MJD the segment applies to

Returns:

  • (Integer)

    the current value of start_mjd



23
24
25
# File 'lib/iers/tai_utc_drift.rb', line 23

def start_mjd
  @start_mjd
end