Module: When::Coordinates::Temporal::OriginOnly

Defined in:
lib/when_exe/coordinates.rb

Instance Method Summary collapse

Instance Method Details

#_decode_upper_structure(source) ⇒ Array<Numeric>

上の位の除去



1793
1794
1795
1796
1797
# File 'lib/when_exe/coordinates.rb', line 1793

def _decode_upper_structure(source)
  date     = source.dup
  date[0] -= @origin_of_MSC
  return date
end

#_encode_upper_structure(source) ⇒ Array<Numeric>

上の位の付加



1781
1782
1783
1784
1785
# File 'lib/when_exe/coordinates.rb', line 1781

def _encode_upper_structure(source)
  date     = source.dup
  date[0] += @origin_of_MSC
  return date
end