Module: Zakuro::Calculation::Monthly::AllSolarTerm
- Defined in:
- lib/zakuro/calculation/monthly/internal/meta/all_solar_term.rb
Overview
AllSolarTerm 月内の全ての二十四節気
Class Method Summary collapse
Class Method Details
.get(before_month:, current_month:) ⇒ Array<Cycle::AbstractSolarTerm>
取得する
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/zakuro/calculation/monthly/internal/meta/all_solar_term.rb', line 22 def get(before_month:, current_month:) remainder = current_month.remainder solar_terms = current_month.solar_terms before_solar_terms = before_month.solar_terms resolve( remainder: remainder, solar_terms: solar_terms, before_solar_terms: before_solar_terms ) end |