Sha256: fa5c9192b27e6465af1df3bb597aed6bdd2739e48251cba6c036ba715071be14
Contents?: true
Size: 821 Bytes
Versions: 6
Compression:
Stored size: 821 Bytes
Contents
# frozen_string_literal: true require_relative './lunar_age' require_relative './winter_solstice' # :nodoc: module Zakuro # :nodoc: module Daien # :nodoc: module Origin # # AverageNovember 11月経 # module AverageNovember class << self # # 11月経朔(冬至が含まれる月の1日)を求める # # @param [Integer] western_year 西暦年 # # @return [Remainder] 11月経朔 # def get(western_year:) # 冬至 winter_solstice = WinterSolstice.get(western_year: western_year) # 天正閏余 lunar_age = LunarAge.get(western_year: western_year) winter_solstice.sub(lunar_age) end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems