Sha256: eaecf43307ef10dacc1746e709f7c4b30dec983ab7fb19ac78dc2f00740add29
Contents?: true
Size: 835 Bytes
Versions: 14
Compression:
Stored size: 835 Bytes
Contents
# frozen_string_literal: true require_relative '../../../calculation/cycle/abstract_solar_term' require_relative '../const/remainder' require_relative './remainder' # :nodoc: module Zakuro # :nodoc: module Senmyou # :nodoc: module Cycle # # SolarTerm 二十四節気 # class SolarTerm < Calculation::Cycle::AbstractSolarTerm # @return [Remainder] 気策(24分の1年) SOLAR_TERM_AVERAGE = Const::Remainder::Solar::SOLAR_TERM_AVERAGE # # 初期化 # # @param [Integer] index 連番 # @param [Remainder] remainder 時刻情報(大余小余) # def initialize(index: -1, remainder: Remainder.new) super(index: index, remainder: remainder, average: SOLAR_TERM_AVERAGE) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems