Method: When::TimeStandard::LocalApparentTime#from_dynamical_time

Defined in:
lib/when_exe/timestandard.rb

#from_dynamical_time(time) ⇒ Numeric

dynamical time を local apparent time に変換する

Parameters:

  • time (Numeric)

    dynamical time

Returns:

  • (Numeric)

    local apparent time



617
618
619
# File 'lib/when_exe/timestandard.rb', line 617

def from_dynamical_time(time)
  super(time) + When::TM::Duration::DAY * (localdate_difference + @datum.equation_of_time(When::TM::JulianDate._t_to_d(time)))
end