module Zakuro::Daien::Solar::Value

Value 太陽補正値

Public Class Methods

get(solar_location:) click to toggle source

太陽の運行による補正値を算出する

@param [SolarTerm] solar_location 入定気

@return [Integer] 補正値

# File lib/zakuro/version/daien/stella/solar/value.rb, line 26
def self.get(solar_location:)
  remainder = solar_location.remainder

  row = Adjustment.specify(index: solar_location.index)

  Calculation::Solar::ChoukeiValue.get(remainder: remainder, row: row)
end