zakuro 0.1.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/gengou.md +22 -22
- data/doc/operation/csv/month.csv +447 -202
- data/doc/operation/operation.xlsx +0 -0
- data/lib/zakuro/calculation/base/operated_year.rb +114 -0
- data/lib/zakuro/calculation/base/year.rb +3 -0
- data/lib/zakuro/calculation/cycle/abstract_remainder.rb +44 -19
- data/lib/zakuro/calculation/monthly/abstract_lunar_phase.rb +169 -0
- data/lib/zakuro/calculation/monthly/first_day.rb +1 -1
- data/lib/zakuro/calculation/monthly/operated_month.rb +47 -3
- data/lib/zakuro/calculation/range/full_range.rb +1 -1
- data/lib/zakuro/calculation/range/medieval_annual_range.rb +105 -0
- data/lib/zakuro/calculation/range/operated_range.rb +61 -16
- data/lib/zakuro/calculation/stella/lunar/abstract_location.rb +78 -0
- data/lib/zakuro/calculation/stella/lunar/choukei_value.rb +71 -0
- data/lib/zakuro/calculation/stella/solar/abstract_average.rb +117 -0
- data/lib/zakuro/calculation/stella/solar/abstract_location.rb +187 -0
- data/lib/zakuro/calculation/stella/solar/choukei_value.rb +136 -0
- data/lib/zakuro/calculation/type/old_float.rb +69 -0
- data/lib/zakuro/era/japan/reki.rb +1 -1
- data/lib/zakuro/era/japan/yaml/set-001-until-south.yaml +22 -22
- data/lib/zakuro/operation/month/type.rb +58 -0
- data/lib/zakuro/operation/yaml/month.yaml +7840 -0
- data/lib/zakuro/version/context.rb +1 -1
- data/lib/zakuro/version/daien/const/number.rb +55 -0
- data/lib/zakuro/version/daien/const/remainder.rb +53 -0
- data/lib/zakuro/version/daien/cycle/remainder.rb +59 -0
- data/lib/zakuro/version/daien/cycle/solar_term.rb +34 -0
- data/lib/zakuro/version/daien/daien.rb +36 -0
- data/lib/zakuro/version/daien/monthly/lunar_phase.rb +106 -0
- data/lib/zakuro/version/daien/range/annual_range.rb +39 -0
- data/lib/zakuro/version/daien/stella/lunar/adjustment.rb +240 -0
- data/lib/zakuro/version/daien/stella/lunar/localization.rb +44 -0
- data/lib/zakuro/version/daien/stella/lunar/location.rb +80 -0
- data/lib/zakuro/version/daien/stella/lunar/value.rb +75 -0
- data/lib/zakuro/version/daien/stella/origin/average_november.rb +34 -0
- data/lib/zakuro/version/daien/stella/origin/lunar_age.rb +62 -0
- data/lib/zakuro/version/daien/stella/origin/winter_solstice.rb +55 -0
- data/lib/zakuro/version/daien/stella/solar/adjustment.rb +93 -0
- data/lib/zakuro/version/daien/stella/solar/average.rb +98 -0
- data/lib/zakuro/version/daien/stella/solar/interval.rb +108 -0
- data/lib/zakuro/version/daien/stella/solar/location.rb +61 -0
- data/lib/zakuro/version/daien/stella/solar/value.rb +36 -0
- data/lib/zakuro/version/gihou/const/number.rb +55 -0
- data/lib/zakuro/version/gihou/const/remainder.rb +54 -0
- data/lib/zakuro/version/gihou/cycle/remainder.rb +56 -0
- data/lib/zakuro/version/gihou/cycle/solar_term.rb +34 -0
- data/lib/zakuro/version/gihou/gihou.rb +23 -2
- data/lib/zakuro/version/gihou/monthly/lunar_phase.rb +106 -0
- data/lib/zakuro/version/gihou/range/annual_range.rb +39 -0
- data/lib/zakuro/version/gihou/stella/lunar/adjustment.rb +250 -0
- data/lib/zakuro/version/gihou/stella/lunar/localization.rb +44 -0
- data/lib/zakuro/version/gihou/stella/lunar/location.rb +80 -0
- data/lib/zakuro/version/gihou/stella/lunar/value.rb +75 -0
- data/lib/zakuro/version/gihou/stella/origin/average_november.rb +34 -0
- data/lib/zakuro/version/gihou/stella/origin/lunar_age.rb +62 -0
- data/lib/zakuro/version/gihou/stella/origin/winter_solstice.rb +55 -0
- data/lib/zakuro/version/gihou/stella/solar/adjustment.rb +93 -0
- data/lib/zakuro/version/gihou/stella/solar/average.rb +97 -0
- data/lib/zakuro/version/gihou/stella/solar/interval.rb +108 -0
- data/lib/zakuro/version/gihou/stella/solar/location.rb +61 -0
- data/lib/zakuro/version/gihou/stella/solar/value.rb +36 -0
- data/lib/zakuro/version/senmyou/const/number.rb +51 -0
- data/lib/zakuro/version/senmyou/const/remainder.rb +47 -0
- data/lib/zakuro/version/senmyou/cycle/remainder.rb +5 -12
- data/lib/zakuro/version/senmyou/cycle/solar_term.rb +4 -1
- data/lib/zakuro/version/senmyou/monthly/lunar_phase.rb +36 -155
- data/lib/zakuro/version/senmyou/range/annual_range.rb +7 -135
- data/lib/zakuro/version/senmyou/stella/lunar/adjustment.rb +237 -0
- data/lib/zakuro/version/senmyou/stella/lunar/localization.rb +44 -0
- data/lib/zakuro/version/senmyou/stella/lunar/location.rb +87 -0
- data/lib/zakuro/version/senmyou/stella/lunar/value.rb +67 -0
- data/lib/zakuro/version/senmyou/stella/origin/average_november.rb +34 -0
- data/lib/zakuro/version/senmyou/stella/origin/lunar_age.rb +62 -0
- data/lib/zakuro/version/senmyou/stella/origin/winter_solstice.rb +55 -0
- data/lib/zakuro/version/senmyou/stella/solar/adjustment.rb +93 -0
- data/lib/zakuro/version/senmyou/stella/solar/average.rb +97 -0
- data/lib/zakuro/version/senmyou/stella/solar/interval.rb +103 -0
- data/lib/zakuro/version/senmyou/stella/solar/location.rb +61 -0
- data/lib/zakuro/version/senmyou/stella/solar/value.rb +39 -0
- data/lib/zakuro/version/version_class_resolver.rb +8 -0
- data/lib/zakuro/version.rb +1 -1
- data/lib/zakuro/version_factory.rb +1 -1
- metadata +62 -8
- data/lib/zakuro/version/senmyou/stella/lunar_orbit.rb +0 -332
- data/lib/zakuro/version/senmyou/stella/solar_average.rb +0 -169
- data/lib/zakuro/version/senmyou/stella/solar_location.rb +0 -213
- data/lib/zakuro/version/senmyou/stella/solar_orbit.rb +0 -213
- data/lib/zakuro/version/senmyou/stella/winter_solstice.rb +0 -106
- data/lib/zakuro/version/taien/taien.rb +0 -19
@@ -0,0 +1,97 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative '../../../../calculation/stella/solar/abstract_average'
|
4
|
+
|
5
|
+
require_relative '../../const/remainder'
|
6
|
+
|
7
|
+
require_relative '../../cycle/solar_term'
|
8
|
+
|
9
|
+
require_relative '../origin/winter_solstice'
|
10
|
+
|
11
|
+
require_relative './location'
|
12
|
+
|
13
|
+
# :nodoc:
|
14
|
+
module Zakuro
|
15
|
+
# :nodoc:
|
16
|
+
module Senmyou
|
17
|
+
# :nodoc:
|
18
|
+
module Solar
|
19
|
+
#
|
20
|
+
# Average 平気(太陽軌道平均)
|
21
|
+
#
|
22
|
+
class Average < Calculation::Solar::AbstractAverage
|
23
|
+
#
|
24
|
+
# 初期化
|
25
|
+
#
|
26
|
+
# @param [Integer] western_year 西暦年
|
27
|
+
#
|
28
|
+
def initialize(western_year:)
|
29
|
+
solar_term = Average.first_solar_term(western_year: western_year)
|
30
|
+
super(solar_term: solar_term)
|
31
|
+
end
|
32
|
+
|
33
|
+
#
|
34
|
+
# 冬至から数えた1年データの月ごとに二十四節気を割り当てる
|
35
|
+
#
|
36
|
+
# @param [Array<Month>] annual_range 1年データ
|
37
|
+
#
|
38
|
+
# @return [Array<Month>] 1年データ
|
39
|
+
#
|
40
|
+
def set(annual_range:)
|
41
|
+
super(annual_range: annual_range)
|
42
|
+
end
|
43
|
+
|
44
|
+
#
|
45
|
+
# 計算開始する二十四節気を求める
|
46
|
+
#
|
47
|
+
# @param [Integer] western_year 西暦年
|
48
|
+
#
|
49
|
+
# @return [SolarTerm] 二十四節気
|
50
|
+
#
|
51
|
+
def self.first_solar_term(western_year:)
|
52
|
+
# 天正冬至
|
53
|
+
winter_solstice = Origin::WinterSolstice.get(western_year: western_year)
|
54
|
+
|
55
|
+
# 二十四節気(冬至)
|
56
|
+
solar_term = Cycle::SolarTerm.new(index: 0, remainder: winter_solstice)
|
57
|
+
|
58
|
+
first_solar_term_index = Average.calc_fist_solar_term_index(western_year: western_year)
|
59
|
+
|
60
|
+
# 対象の二十四節気まで戻す
|
61
|
+
solar_term.prev_by_index(first_solar_term_index)
|
62
|
+
|
63
|
+
solar_term
|
64
|
+
end
|
65
|
+
|
66
|
+
# :reek:TooManyStatements { max_statements: 6 }
|
67
|
+
|
68
|
+
#
|
69
|
+
# 計算開始する二十四節気番号を求める
|
70
|
+
#
|
71
|
+
# * 前提として入定気は冬至の手前にある
|
72
|
+
# * 例えば、定気が大雪であれば入定気は大雪の範囲内にある
|
73
|
+
# * 入定気は、定気の開始位置に重複しない限り、常に定気より後にある
|
74
|
+
# * 基本的に定気の一つ前から起算すれば、当時から求めた11月(閏10/閏11月)に二十四節気を割り当てられる
|
75
|
+
#
|
76
|
+
# @param [Integer] western_year 西暦年
|
77
|
+
#
|
78
|
+
# @return [Integer] 二十四節気番号
|
79
|
+
#
|
80
|
+
def self.calc_fist_solar_term_index(western_year:)
|
81
|
+
# 天正閏余
|
82
|
+
lunar_age = Origin::LunarAge.get(western_year: western_year)
|
83
|
+
|
84
|
+
solar_location = Solar::Location.new(lunar_age: lunar_age)
|
85
|
+
solar_location.run
|
86
|
+
|
87
|
+
solar_term_index = solar_location.index
|
88
|
+
|
89
|
+
# 入定気の一つ後の二十四節気まで戻す(ただし11月経朔が二十四節気上にある場合は戻さない)
|
90
|
+
solar_term_index += 1 unless solar_location.remainder.day.zero?
|
91
|
+
|
92
|
+
solar_term_index
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# :nodoc:
|
4
|
+
module Zakuro
|
5
|
+
# :nodoc:
|
6
|
+
module Senmyou
|
7
|
+
# :nodoc:
|
8
|
+
module Solar
|
9
|
+
#
|
10
|
+
# Interval 入気定日加減数(二十四節気の間隔)
|
11
|
+
#
|
12
|
+
module Interval
|
13
|
+
# @return [Hash<Symbol, Cycle::Remainder>] 一覧
|
14
|
+
MAP = {
|
15
|
+
# 冬至(とうじ)・大雪(たいせつ)
|
16
|
+
touji: Cycle::Remainder.new(day: 14, minute: 4235, second: 5),
|
17
|
+
taisetsu: Cycle::Remainder.new(day: 14, minute: 4235, second: 5),
|
18
|
+
# 小寒(しょうかん)・小雪(しょうせつ)
|
19
|
+
shoukan: Cycle::Remainder.new(day: 14, minute: 5235, second: 5),
|
20
|
+
shousetsu: Cycle::Remainder.new(day: 14, minute: 5235, second: 5),
|
21
|
+
# 大寒(だいかん)・立冬(りっとう)
|
22
|
+
daikan: Cycle::Remainder.new(day: 14, minute: 6235, second: 5),
|
23
|
+
rittou: Cycle::Remainder.new(day: 14, minute: 6235, second: 5),
|
24
|
+
# 立春(りっしゅん)・霜降(そうこう)
|
25
|
+
risshun: Cycle::Remainder.new(day: 14, minute: 7235, second: 5),
|
26
|
+
soukou: Cycle::Remainder.new(day: 14, minute: 7235, second: 5),
|
27
|
+
# 雨水(うすい)・寒露(かんろ)
|
28
|
+
usui: Cycle::Remainder.new(day: 15, minute: 35, second: 5),
|
29
|
+
kanro: Cycle::Remainder.new(day: 15, minute: 35, second: 5),
|
30
|
+
# 啓蟄(けいちつ)・秋分(しゅうぶん)
|
31
|
+
keichitsu: Cycle::Remainder.new(day: 15, minute: 1235, second: 5),
|
32
|
+
shuubun: Cycle::Remainder.new(day: 15, minute: 1235, second: 5),
|
33
|
+
# 春分(しゅんぶん)・白露(はくろ)
|
34
|
+
shunbun: Cycle::Remainder.new(day: 15, minute: 2435, second: 5),
|
35
|
+
hakuro: Cycle::Remainder.new(day: 15, minute: 2435, second: 5),
|
36
|
+
# 清明(せいめい)・処暑(しょしょ)
|
37
|
+
seimei: Cycle::Remainder.new(day: 15, minute: 3635, second: 5),
|
38
|
+
shosho: Cycle::Remainder.new(day: 15, minute: 3635, second: 5),
|
39
|
+
# 穀雨(こくう)・立秋(りっしゅう)
|
40
|
+
kokuu: Cycle::Remainder.new(day: 15, minute: 4835, second: 5),
|
41
|
+
risshuu: Cycle::Remainder.new(day: 15, minute: 4835, second: 5),
|
42
|
+
# 立夏(りっか)・大暑(たいしょ)
|
43
|
+
rikka: Cycle::Remainder.new(day: 15, minute: 5835, second: 5),
|
44
|
+
taisho: Cycle::Remainder.new(day: 15, minute: 5835, second: 5),
|
45
|
+
# 小満(しょうまん)・小暑(しょうしょ)
|
46
|
+
shouman: Cycle::Remainder.new(day: 15, minute: 6835, second: 5),
|
47
|
+
shousho: Cycle::Remainder.new(day: 15, minute: 6835, second: 5),
|
48
|
+
# 芒種(ぼうしゅ)・夏至(げし)
|
49
|
+
boushu: Cycle::Remainder.new(day: 15, minute: 7835, second: 5),
|
50
|
+
geshi: Cycle::Remainder.new(day: 15, minute: 7835, second: 5)
|
51
|
+
}.freeze
|
52
|
+
|
53
|
+
# @return [Array<Remainder>] 索引
|
54
|
+
LIST = [
|
55
|
+
MAP[:touji], # 0
|
56
|
+
MAP[:shoukan], # 1
|
57
|
+
MAP[:daikan], # 2
|
58
|
+
MAP[:risshun], # 3
|
59
|
+
MAP[:usui], # 4
|
60
|
+
MAP[:keichitsu], # 5
|
61
|
+
MAP[:shunbun], # 6
|
62
|
+
MAP[:seimei], # 7
|
63
|
+
MAP[:kokuu], # 8
|
64
|
+
MAP[:rikka], # 9
|
65
|
+
MAP[:shouman], # 10
|
66
|
+
MAP[:boushu], # 11
|
67
|
+
MAP[:geshi], # 12
|
68
|
+
MAP[:shousho], # 13
|
69
|
+
MAP[:taisho], # 14
|
70
|
+
MAP[:risshuu], # 15
|
71
|
+
MAP[:shosho], # 16
|
72
|
+
MAP[:hakuro], # 17
|
73
|
+
MAP[:shuubun], # 18
|
74
|
+
MAP[:kanro], # 19
|
75
|
+
MAP[:soukou], # 20
|
76
|
+
MAP[:rittou], # 21
|
77
|
+
MAP[:shousetsu], # 22
|
78
|
+
MAP[:taisetsu] # 23
|
79
|
+
].freeze
|
80
|
+
|
81
|
+
#
|
82
|
+
# 入気定日加減数を引き当てる
|
83
|
+
#
|
84
|
+
# @param [Integer] index 二十四節気番号
|
85
|
+
#
|
86
|
+
# @return [Cycle::Remainder] 入気定日加減数
|
87
|
+
#
|
88
|
+
def self.index_of(index)
|
89
|
+
LIST[index]
|
90
|
+
end
|
91
|
+
|
92
|
+
#
|
93
|
+
# 入気定日加減数の総数を返す
|
94
|
+
#
|
95
|
+
# @return [Integer] 入気定日加減数の総数
|
96
|
+
#
|
97
|
+
def self.size
|
98
|
+
LIST.size
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative '../../../../calculation/stella/solar/abstract_location'
|
4
|
+
|
5
|
+
require_relative '../../const/remainder'
|
6
|
+
|
7
|
+
require_relative './interval'
|
8
|
+
|
9
|
+
# :nodoc:
|
10
|
+
module Zakuro
|
11
|
+
# :nodoc:
|
12
|
+
module Senmyou
|
13
|
+
# :nodoc:
|
14
|
+
module Solar
|
15
|
+
#
|
16
|
+
# Location 入定気
|
17
|
+
#
|
18
|
+
class Location < Calculation::Solar::AbstractLocation
|
19
|
+
# @return [Cycle::Remainder] 弦
|
20
|
+
QUARTER = Const::Remainder::Solar::QUARTER
|
21
|
+
|
22
|
+
#
|
23
|
+
# 初期化
|
24
|
+
#
|
25
|
+
# @param [Cycle::Remainder] lunar_age 天正閏余(大余小余)
|
26
|
+
#
|
27
|
+
def initialize(lunar_age:)
|
28
|
+
super(lunar_age: lunar_age, quarter: QUARTER)
|
29
|
+
end
|
30
|
+
|
31
|
+
# :reek:UtilityFunction
|
32
|
+
|
33
|
+
#
|
34
|
+
# 二十四節気番号に対応する入気定日加減数を返す
|
35
|
+
#
|
36
|
+
# @note 継承のためクラスメソッドにしない
|
37
|
+
#
|
38
|
+
# @param [Integer] index 二十四節気番号
|
39
|
+
#
|
40
|
+
# @return [Cycle::Remainder] 入気定日加減数
|
41
|
+
#
|
42
|
+
def interval(index:)
|
43
|
+
Interval.index_of(index)
|
44
|
+
end
|
45
|
+
|
46
|
+
# :reek:UtilityFunction
|
47
|
+
|
48
|
+
#
|
49
|
+
# 入気定日加減数の要素数を返す
|
50
|
+
#
|
51
|
+
# @note 継承のためクラスメソッドにしない
|
52
|
+
#
|
53
|
+
# @return [Integer] 入気定日加減数の要素数
|
54
|
+
#
|
55
|
+
def interval_size
|
56
|
+
Interval.size
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative '../../../../calculation/stella/solar/choukei_value'
|
4
|
+
|
5
|
+
require_relative '../../const/number'
|
6
|
+
|
7
|
+
require_relative './adjustment'
|
8
|
+
|
9
|
+
# :nodoc:
|
10
|
+
module Zakuro
|
11
|
+
# :nodoc:
|
12
|
+
module Senmyou
|
13
|
+
# :nodoc:
|
14
|
+
module Solar
|
15
|
+
#
|
16
|
+
# Value 太陽補正値
|
17
|
+
#
|
18
|
+
module Value
|
19
|
+
# @return [Integer] 1日
|
20
|
+
DAY = Const::Number::Cycle::DAY
|
21
|
+
|
22
|
+
#
|
23
|
+
# 太陽の運行による補正値を算出する
|
24
|
+
#
|
25
|
+
# @param [SolarTerm] solar_location 入定気
|
26
|
+
#
|
27
|
+
# @return [Integer] 補正値
|
28
|
+
#
|
29
|
+
def self.get(solar_location:)
|
30
|
+
remainder = solar_location.remainder
|
31
|
+
|
32
|
+
row = Adjustment.specify(index: solar_location.index)
|
33
|
+
|
34
|
+
Calculation::Solar::ChoukeiValue.get(remainder: remainder, row: row)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -1,5 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require_relative './gihou/cycle/remainder'
|
4
|
+
require_relative './gihou/cycle/solar_term'
|
5
|
+
require_relative './gihou/range/annual_range'
|
6
|
+
|
7
|
+
require_relative './daien/cycle/remainder'
|
8
|
+
require_relative './daien/cycle/solar_term'
|
9
|
+
require_relative './daien/range/annual_range'
|
10
|
+
|
3
11
|
require_relative './senmyou/cycle/remainder'
|
4
12
|
require_relative './senmyou/cycle/solar_term'
|
5
13
|
require_relative './senmyou/range/annual_range'
|
data/lib/zakuro/version.rb
CHANGED
@@ -4,7 +4,7 @@ require_relative './era/japan/reki'
|
|
4
4
|
require_relative './era/western'
|
5
5
|
require_relative './version/genka/genka'
|
6
6
|
require_relative './version/gihou/gihou'
|
7
|
-
require_relative './version/
|
7
|
+
require_relative './version/daien/daien'
|
8
8
|
require_relative './version/senmyou/senmyou'
|
9
9
|
require_relative './version/joukyou/joukyou'
|
10
10
|
require_relative './version/houryaku/houryaku'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zakuro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pldb
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: mainly lunar solar calendar
|
14
14
|
email:
|
@@ -42,22 +42,31 @@ files:
|
|
42
42
|
- lib/zakuro.rb
|
43
43
|
- lib/zakuro/calculation/base/multi_gengou.rb
|
44
44
|
- lib/zakuro/calculation/base/multi_gengou_roller.rb
|
45
|
+
- lib/zakuro/calculation/base/operated_year.rb
|
45
46
|
- lib/zakuro/calculation/base/year.rb
|
46
47
|
- lib/zakuro/calculation/cycle/abstract_remainder.rb
|
47
48
|
- lib/zakuro/calculation/cycle/abstract_solar_term.rb
|
48
49
|
- lib/zakuro/calculation/cycle/zodiac.rb
|
50
|
+
- lib/zakuro/calculation/monthly/abstract_lunar_phase.rb
|
49
51
|
- lib/zakuro/calculation/monthly/first_day.rb
|
50
52
|
- lib/zakuro/calculation/monthly/initialized_month.rb
|
51
53
|
- lib/zakuro/calculation/monthly/month.rb
|
52
54
|
- lib/zakuro/calculation/monthly/month_label.rb
|
53
55
|
- lib/zakuro/calculation/monthly/operated_month.rb
|
54
56
|
- lib/zakuro/calculation/range/full_range.rb
|
57
|
+
- lib/zakuro/calculation/range/medieval_annual_range.rb
|
55
58
|
- lib/zakuro/calculation/range/operated_range.rb
|
56
59
|
- lib/zakuro/calculation/range/operated_solar_terms.rb
|
57
60
|
- lib/zakuro/calculation/range/transfer/western_date_allocation.rb
|
58
61
|
- lib/zakuro/calculation/range/transfer/year_boundary.rb
|
59
62
|
- lib/zakuro/calculation/specifier/single_day.rb
|
63
|
+
- lib/zakuro/calculation/stella/lunar/abstract_location.rb
|
64
|
+
- lib/zakuro/calculation/stella/lunar/choukei_value.rb
|
65
|
+
- lib/zakuro/calculation/stella/solar/abstract_average.rb
|
66
|
+
- lib/zakuro/calculation/stella/solar/abstract_location.rb
|
67
|
+
- lib/zakuro/calculation/stella/solar/choukei_value.rb
|
60
68
|
- lib/zakuro/calculation/summary/single.rb
|
69
|
+
- lib/zakuro/calculation/type/old_float.rb
|
61
70
|
- lib/zakuro/condition.rb
|
62
71
|
- lib/zakuro/era/japan/gengou.rb
|
63
72
|
- lib/zakuro/era/japan/gengou/parser.rb
|
@@ -86,24 +95,69 @@ files:
|
|
86
95
|
- lib/zakuro/version.rb
|
87
96
|
- lib/zakuro/version/abstract_version.rb
|
88
97
|
- lib/zakuro/version/context.rb
|
98
|
+
- lib/zakuro/version/daien/const/number.rb
|
99
|
+
- lib/zakuro/version/daien/const/remainder.rb
|
100
|
+
- lib/zakuro/version/daien/cycle/remainder.rb
|
101
|
+
- lib/zakuro/version/daien/cycle/solar_term.rb
|
102
|
+
- lib/zakuro/version/daien/daien.rb
|
103
|
+
- lib/zakuro/version/daien/monthly/lunar_phase.rb
|
104
|
+
- lib/zakuro/version/daien/range/annual_range.rb
|
105
|
+
- lib/zakuro/version/daien/stella/lunar/adjustment.rb
|
106
|
+
- lib/zakuro/version/daien/stella/lunar/localization.rb
|
107
|
+
- lib/zakuro/version/daien/stella/lunar/location.rb
|
108
|
+
- lib/zakuro/version/daien/stella/lunar/value.rb
|
109
|
+
- lib/zakuro/version/daien/stella/origin/average_november.rb
|
110
|
+
- lib/zakuro/version/daien/stella/origin/lunar_age.rb
|
111
|
+
- lib/zakuro/version/daien/stella/origin/winter_solstice.rb
|
112
|
+
- lib/zakuro/version/daien/stella/solar/adjustment.rb
|
113
|
+
- lib/zakuro/version/daien/stella/solar/average.rb
|
114
|
+
- lib/zakuro/version/daien/stella/solar/interval.rb
|
115
|
+
- lib/zakuro/version/daien/stella/solar/location.rb
|
116
|
+
- lib/zakuro/version/daien/stella/solar/value.rb
|
89
117
|
- lib/zakuro/version/genka/genka.rb
|
118
|
+
- lib/zakuro/version/gihou/const/number.rb
|
119
|
+
- lib/zakuro/version/gihou/const/remainder.rb
|
120
|
+
- lib/zakuro/version/gihou/cycle/remainder.rb
|
121
|
+
- lib/zakuro/version/gihou/cycle/solar_term.rb
|
90
122
|
- lib/zakuro/version/gihou/gihou.rb
|
123
|
+
- lib/zakuro/version/gihou/monthly/lunar_phase.rb
|
124
|
+
- lib/zakuro/version/gihou/range/annual_range.rb
|
125
|
+
- lib/zakuro/version/gihou/stella/lunar/adjustment.rb
|
126
|
+
- lib/zakuro/version/gihou/stella/lunar/localization.rb
|
127
|
+
- lib/zakuro/version/gihou/stella/lunar/location.rb
|
128
|
+
- lib/zakuro/version/gihou/stella/lunar/value.rb
|
129
|
+
- lib/zakuro/version/gihou/stella/origin/average_november.rb
|
130
|
+
- lib/zakuro/version/gihou/stella/origin/lunar_age.rb
|
131
|
+
- lib/zakuro/version/gihou/stella/origin/winter_solstice.rb
|
132
|
+
- lib/zakuro/version/gihou/stella/solar/adjustment.rb
|
133
|
+
- lib/zakuro/version/gihou/stella/solar/average.rb
|
134
|
+
- lib/zakuro/version/gihou/stella/solar/interval.rb
|
135
|
+
- lib/zakuro/version/gihou/stella/solar/location.rb
|
136
|
+
- lib/zakuro/version/gihou/stella/solar/value.rb
|
91
137
|
- lib/zakuro/version/gregorio/gregorio.rb
|
92
138
|
- lib/zakuro/version/houryaku/houryaku.rb
|
93
139
|
- lib/zakuro/version/joukyou/joukyou.rb
|
94
140
|
- lib/zakuro/version/kansei/kansei.rb
|
95
141
|
- lib/zakuro/version/senmyou/README.md
|
142
|
+
- lib/zakuro/version/senmyou/const/number.rb
|
143
|
+
- lib/zakuro/version/senmyou/const/remainder.rb
|
96
144
|
- lib/zakuro/version/senmyou/cycle/remainder.rb
|
97
145
|
- lib/zakuro/version/senmyou/cycle/solar_term.rb
|
98
146
|
- lib/zakuro/version/senmyou/monthly/lunar_phase.rb
|
99
147
|
- lib/zakuro/version/senmyou/range/annual_range.rb
|
100
148
|
- lib/zakuro/version/senmyou/senmyou.rb
|
101
|
-
- lib/zakuro/version/senmyou/stella/
|
102
|
-
- lib/zakuro/version/senmyou/stella/
|
103
|
-
- lib/zakuro/version/senmyou/stella/
|
104
|
-
- lib/zakuro/version/senmyou/stella/
|
105
|
-
- lib/zakuro/version/senmyou/stella/
|
106
|
-
- lib/zakuro/version/
|
149
|
+
- lib/zakuro/version/senmyou/stella/lunar/adjustment.rb
|
150
|
+
- lib/zakuro/version/senmyou/stella/lunar/localization.rb
|
151
|
+
- lib/zakuro/version/senmyou/stella/lunar/location.rb
|
152
|
+
- lib/zakuro/version/senmyou/stella/lunar/value.rb
|
153
|
+
- lib/zakuro/version/senmyou/stella/origin/average_november.rb
|
154
|
+
- lib/zakuro/version/senmyou/stella/origin/lunar_age.rb
|
155
|
+
- lib/zakuro/version/senmyou/stella/origin/winter_solstice.rb
|
156
|
+
- lib/zakuro/version/senmyou/stella/solar/adjustment.rb
|
157
|
+
- lib/zakuro/version/senmyou/stella/solar/average.rb
|
158
|
+
- lib/zakuro/version/senmyou/stella/solar/interval.rb
|
159
|
+
- lib/zakuro/version/senmyou/stella/solar/location.rb
|
160
|
+
- lib/zakuro/version/senmyou/stella/solar/value.rb
|
107
161
|
- lib/zakuro/version/tenpou/tenpou.rb
|
108
162
|
- lib/zakuro/version/version_class_resolver.rb
|
109
163
|
- lib/zakuro/version_factory.rb
|