Sha256: 99029835f754a42af4b4c35dfc3dc45bb1879591cc91e7cae647121693a00018

Contents?: true

Size: 833 Bytes

Versions: 14

Compression:

Stored size: 833 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 Gihou
    # :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/gihou/cycle/solar_term.rb
zakuro-0.9.3 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.9.2 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.9.1 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.9.0 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.8.0 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.7.2 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.7.0 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.6.1 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.6.0 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.5.0 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.4.0 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.3.0 lib/zakuro/version/gihou/cycle/solar_term.rb
zakuro-0.2.0 lib/zakuro/version/gihou/cycle/solar_term.rb