class Zakuro::Result::Data::Year

Year

Attributes

first_gengou[R]

@return [Gengou] 元号(1行目)

second_gengou[R]

@return [Gengou] 元号(2行目)

total_days[R]

@return [Integer] 日数

zodiac_name[R]

@return [String] 十干十二支

Public Class Methods

new(first_gengou:, second_gengou:, zodiac_name:, total_days:) click to toggle source

初期化

@param [Gengou] first_gengou 元号(1行目) @param [Gengou] second_gengou 元号(2行目) @param [String] zodiac_name 十干十二支 @param [Integer] total_days 日数

# File lib/zakuro/result/data.rb, line 83
def initialize(first_gengou:, second_gengou:, zodiac_name:, total_days:)
  @first_gengou = first_gengou
  @second_gengou = second_gengou
  @zodiac_name = zodiac_name
  @total_days = total_days
end