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

Version Path
zakuro-0.9.4 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.9.3 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.9.2 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.9.1 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.9.0 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.8.0 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.7.2 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.7.0 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.6.1 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.6.0 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.5.0 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.4.0 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.3.0 lib/zakuro/version/senmyou/cycle/solar_term.rb
zakuro-0.2.0 lib/zakuro/version/senmyou/cycle/solar_term.rb