Sha256: 8a427a4e6199f4e56953cacbf3fcee411f0709d9e477bf9b41bb6f23d6b20d4f
Contents?: true
Size: 833 Bytes
Versions: 13
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 Daien # :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
13 entries across 13 versions & 1 rubygems