Class: Zakuro::Version::Daien::Cycle::SolarTerm
- Inherits:
-
Calculation::Cycle::AbstractSolarTerm
- Object
- Calculation::Cycle::AbstractSolarTerm
- Zakuro::Version::Daien::Cycle::SolarTerm
- Defined in:
- lib/zakuro/version/daien/cycle/solar_term.rb
Overview
SolarTerm 二十四節気
Constant Summary collapse
- SOLAR_TERM_AVERAGE =
Returns 気策(24分の1年).
Const::Remainder::Solar::SOLAR_TERM_AVERAGE
Constants inherited from Calculation::Cycle::AbstractSolarTerm
Calculation::Cycle::AbstractSolarTerm::FIRST_INDEX, Calculation::Cycle::AbstractSolarTerm::LAST_INDEX, Calculation::Cycle::AbstractSolarTerm::ORDER
Instance Attribute Summary
Attributes inherited from Calculation::Cycle::AbstractSolarTerm
Instance Method Summary collapse
-
#initialize(index: -1,, remainder: Remainder.new) ⇒ SolarTerm
constructor
初期化.
Methods inherited from Calculation::Cycle::AbstractSolarTerm
#empty?, index?, #initialize_copy, #invalid?, #next_by_index, #next_term, #next_term!, #prev_by_index, #prev_term, #prev_term!
Constructor Details
#initialize(index: -1,, remainder: Remainder.new) ⇒ SolarTerm
初期化
30 31 32 |
# File 'lib/zakuro/version/daien/cycle/solar_term.rb', line 30 def initialize(index: -1, remainder: Remainder.new) super(index: index, remainder: remainder, average: SOLAR_TERM_AVERAGE) end |