lib/zakuro/version/senmyou/stella/winter_solstice.rb in zakuro-0.1.2 vs lib/zakuro/version/senmyou/stella/winter_solstice.rb in zakuro-0.1.3

- old
+ new

@@ -25,12 +25,12 @@ # @return [Integer] 積年(甲子夜半朔旦冬至〜暦の開始前) TOTAL_YEAR = 7_070_138 # @return [Integer] 暦の開始年(長慶2年) BEGIN_YEAR = 822 - # @return [Logger] ロガー - LOGGER = Logger.new(location: 'winter_solstice') + # @return [Output::Logger] ロガー + LOGGER = Output::Logger.new(location: 'winter_solstice') # :reek:TooManyStatements { max_statements: 6 } # # 対象年の前年の冬至を求める @@ -49,11 +49,11 @@ # 通余を使う winter_solstice_minute = (remainder_year * REMAINDER_ALL_YEAR) % SIXTY_DAYS LOGGER.debug("[a02]:#{winter_solstice_minute}") - Remainder.new(total: winter_solstice_minute) + Cycle::Remainder.new(total: winter_solstice_minute) end # :reek:TooManyStatements { max_statements: 7 } # @@ -80,10 +80,10 @@ winter_solstice_age = remainder_minute * remainder_year % SYNODIC_MONTH LOGGER.debug("[b02]: #{winter_solstice_age}") # 大余・小余に変換する - Remainder.new(total: winter_solstice_age) + Cycle::Remainder.new(total: winter_solstice_age) end # # 11月経朔(冬至が含まれる月の1日)を求める #