Sha256: c90ccd7dd679223f39625f7e6ee475d14be0cb6bfea02d6e74b61bb9988d0d6e
Contents?: true
Size: 976 Bytes
Versions: 10
Compression:
Stored size: 976 Bytes
Contents
# frozen_string_literal: true # :nodoc: module Zakuro # :nodoc: module Calculation # :nodoc: module Version # # Range 暦(範囲) # class Range # @return [String] 暦名 attr_reader :name # @return [Western::Calendar] 暦の開始日 attr_reader :start_date # @return [Integer] 開始西暦年 attr_reader :start_year # @return [Integer] 終了西暦年 attr_reader :last_year # # 初期化 # # @param [String] name 暦名 # @param [Western::Calendar] start_date 暦の開始日 # @param [Integer] start_year 開始西暦年 # @param [Integer] last_year 終了西暦年 # def initialize(name:, start_date:, start_year:, last_year:) @name = name @start_date = start_date @start_year = start_year @last_year = last_year end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems