zakuro 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +3 -0
  3. data/README.md +6 -4
  4. data/VERSION +1 -1
  5. data/doc/operation/transfer.rb +8 -8
  6. data/lib/zakuro/calculation/base/gengou.rb +46 -0
  7. data/lib/zakuro/calculation/era/gengou/{scroll.rb → abstract_scroll.rb} +6 -8
  8. data/lib/zakuro/calculation/era/gengou/dated_scroll.rb +30 -0
  9. data/lib/zakuro/calculation/era/gengou/internal/reserve/{list.rb → abstract_list.rb} +37 -51
  10. data/lib/zakuro/calculation/era/gengou/internal/reserve/{range.rb → abstract_range.rb} +17 -17
  11. data/lib/zakuro/calculation/era/gengou/internal/reserve/dated_list.rb +48 -0
  12. data/lib/zakuro/calculation/era/gengou/internal/reserve/dated_range.rb +30 -0
  13. data/lib/zakuro/calculation/era/gengou/internal/reserve/empty_link.rb +158 -0
  14. data/lib/zakuro/calculation/era/gengou/internal/reserve/named_list.rb +125 -0
  15. data/lib/zakuro/calculation/era/gengou/internal/reserve/named_range.rb +75 -0
  16. data/lib/zakuro/calculation/era/gengou/internal/reserve.rb +2 -3
  17. data/lib/zakuro/calculation/era/gengou/named_scroll.rb +30 -0
  18. data/lib/zakuro/calculation/monthly/month.rb +39 -0
  19. data/lib/zakuro/calculation/monthly/operated_month.rb +1 -1
  20. data/lib/zakuro/calculation/range/{full_range.rb → abstract_full_range.rb} +5 -4
  21. data/lib/zakuro/calculation/range/{operated_range.rb → abstract_operation_range.rb} +9 -11
  22. data/lib/zakuro/calculation/range/dated_full_range.rb +32 -0
  23. data/lib/zakuro/calculation/range/dated_operation_range.rb +33 -0
  24. data/lib/zakuro/calculation/range/named_full_range.rb +38 -0
  25. data/lib/zakuro/calculation/range/named_operation_range.rb +36 -0
  26. data/lib/zakuro/calculation/range/operated_solar_terms.rb +0 -2
  27. data/lib/zakuro/calculation/{specifier → summary}/internal/month.rb +1 -1
  28. data/lib/zakuro/calculation/summary/japan/range.rb +152 -0
  29. data/lib/zakuro/calculation/summary/japan/single.rb +118 -0
  30. data/lib/zakuro/calculation/summary/japan/specifier/single_day.rb +91 -0
  31. data/lib/zakuro/calculation/summary/western/range.rb +124 -0
  32. data/lib/zakuro/calculation/summary/western/single.rb +113 -0
  33. data/lib/zakuro/calculation/summary/western/specifier/multiple_day.rb +169 -0
  34. data/lib/zakuro/calculation/summary/western/specifier/single_day.rb +93 -0
  35. data/lib/zakuro/condition.rb +1 -2
  36. data/lib/zakuro/era/japan/gengou/alignment/aligner.rb +89 -74
  37. data/lib/zakuro/era/japan/gengou/alignment/division.rb +125 -122
  38. data/lib/zakuro/era/japan/gengou/alignment/line.rb +141 -122
  39. data/lib/zakuro/era/japan/gengou/alignment/linear_gengou.rb +171 -168
  40. data/lib/zakuro/era/japan/gengou/alignment.rb +38 -25
  41. data/lib/zakuro/era/japan/gengou/resource/parser.rb +183 -182
  42. data/lib/zakuro/era/japan/gengou/resource/type.rb +233 -232
  43. data/lib/zakuro/era/japan/gengou/resource/validator.rb +255 -254
  44. data/lib/zakuro/era/japan/gengou/resource.rb +23 -22
  45. data/lib/zakuro/era/japan/gengou.rb +5 -20
  46. data/lib/zakuro/era/western/calendar.rb +9 -9
  47. data/lib/zakuro/exception/case/pattern.rb +35 -0
  48. data/lib/zakuro/exception/case/preset.rb +51 -0
  49. data/lib/zakuro/exception/case/template.rb +48 -0
  50. data/lib/zakuro/exception/cause.rb +28 -0
  51. data/lib/zakuro/exception/exception.rb +37 -0
  52. data/lib/zakuro/exception/zakuro_error.rb +28 -0
  53. data/lib/zakuro/gateway/locale/date.rb +127 -0
  54. data/lib/zakuro/gateway/locale/range.rb +67 -0
  55. data/lib/zakuro/gateway/range.rb +99 -0
  56. data/lib/zakuro/gateway/single.rb +70 -0
  57. data/lib/zakuro/merchant.rb +8 -44
  58. data/lib/zakuro/operation/month/parser.rb +9 -9
  59. data/lib/zakuro/operation/month/type.rb +31 -31
  60. data/lib/zakuro/operation/month/validator.rb +49 -49
  61. data/lib/zakuro/operation/yaml/month.yaml +3736 -3736
  62. data/lib/zakuro/output/logger.rb +17 -3
  63. data/lib/zakuro/result/data/day.rb +43 -0
  64. data/lib/zakuro/result/data/gengou.rb +35 -0
  65. data/lib/zakuro/result/data/month.rb +63 -0
  66. data/lib/zakuro/result/data/single_day.rb +48 -0
  67. data/lib/zakuro/result/data/solar_term.rb +35 -0
  68. data/lib/zakuro/result/data/year.rb +45 -0
  69. data/lib/zakuro/result/operation/month/annotation.rb +40 -0
  70. data/lib/zakuro/result/operation/month/bundle.rb +36 -0
  71. data/lib/zakuro/result/operation/month/history.rb +54 -0
  72. data/lib/zakuro/result/operation/operation.rb +44 -0
  73. data/lib/zakuro/result/result.rb +4 -2
  74. metadata +46 -14
  75. data/lib/zakuro/calculation/specifier/multiple_day.rb +0 -162
  76. data/lib/zakuro/calculation/specifier/single_day.rb +0 -87
  77. data/lib/zakuro/calculation/summary/range.rb +0 -120
  78. data/lib/zakuro/calculation/summary/single.rb +0 -110
  79. data/lib/zakuro/result/data.rb +0 -187
  80. data/lib/zakuro/result/operation.rb +0 -114
@@ -12,9 +12,9 @@ module Zakuro
12
12
  LEVELS = {
13
13
  none: -1,
14
14
  debug: 0,
15
- info: 1
16
- # warn : 2,
17
- # error : 3,
15
+ info: 1,
16
+ warn: 2,
17
+ error: 3
18
18
  }.freeze
19
19
 
20
20
  LEVEL = LEVELS[:none]
@@ -48,6 +48,20 @@ module Zakuro
48
48
  output('INFO', *messages)
49
49
  end
50
50
 
51
+ #
52
+ # ERRORレベルの標準出力を行う
53
+ #
54
+ # @param [Error] error 例外
55
+ # @param [String] messages メッセージ
56
+ #
57
+ def error(error, *messages)
58
+ return if LEVEL < LEVELS[:error]
59
+
60
+ output('ERROR', *messages)
61
+ output('ERROR', error.message)
62
+ output('ERROR', *error.backtrace)
63
+ end
64
+
51
65
  private
52
66
 
53
67
  #
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ # :nodoc:
4
+ module Zakuro
5
+ #
6
+ # Result 演算結果
7
+ #
8
+ module Result
9
+ #
10
+ # データ部
11
+ #
12
+ module Data
13
+ #
14
+ # Day 日
15
+ #
16
+ class Day
17
+ # @return [Integer] 月初日から数えた日(M月d日のdに相当)
18
+ attr_reader :number
19
+ # @return [String] 十干十二支
20
+ attr_reader :zodiac_name
21
+ # @return [String] 大余小余
22
+ attr_reader :remainder
23
+ # @return [String] 年月日
24
+ attr_reader :western_date
25
+
26
+ #
27
+ # 初期化
28
+ #
29
+ # @param [Integer] number 月初日から数えた日(M月d日のdに相当)
30
+ # @param [String] zodiac_name 十干十二支
31
+ # @param [String] remainder 大余小余
32
+ # @param [String] western_date 年月日
33
+ #
34
+ def initialize(number:, zodiac_name:, remainder:, western_date:)
35
+ @number = number
36
+ @zodiac_name = zodiac_name
37
+ @remainder = remainder
38
+ @western_date = western_date
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # :nodoc:
4
+ module Zakuro
5
+ #
6
+ # Result 演算結果
7
+ #
8
+ module Result
9
+ #
10
+ # データ部
11
+ #
12
+ module Data
13
+ #
14
+ # Gengou 元号
15
+ #
16
+ class Gengou
17
+ # @return [String] 元号名
18
+ attr_reader :name
19
+ # @return [Integer] 元号年
20
+ attr_reader :number
21
+
22
+ #
23
+ # 初期化
24
+ #
25
+ # @param [String] name 元号名
26
+ # @param [Integer] number 元号年
27
+ #
28
+ def initialize(name: '', number: -1)
29
+ @name = name
30
+ @number = number
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,63 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative './day'
4
+
5
+ require_relative './solar_term'
6
+
7
+ # :nodoc:
8
+ module Zakuro
9
+ #
10
+ # Result 演算結果
11
+ #
12
+ module Result
13
+ #
14
+ # データ部
15
+ #
16
+ module Data
17
+ # :reek:TooManyInstanceVariables { max_instance_variables: 6 }
18
+
19
+ #
20
+ # Month 月
21
+ #
22
+ class Month
23
+ # @return [Integer] 月順(1-12)
24
+ attr_reader :number
25
+ # @return [True] 閏月
26
+ # @return [False] 平月
27
+ attr_reader :leaped
28
+ # @return [String] 月の大小
29
+ attr_reader :days_name
30
+ # @return [Day] 月初日データ
31
+ attr_reader :first_day
32
+ # @return [SolarTerm] 二十四節気(節気)
33
+ attr_reader :odd_solar_terms
34
+ # @return [SolarTerm] 二十四節気(中気)
35
+ attr_reader :even_solar_terms
36
+
37
+ # rubocop:disable Metrics/ParameterLists
38
+ # :reek:LongParameterList { max_params: 6 }
39
+
40
+ #
41
+ # 初期化
42
+ #
43
+ # @param [Integer] number 月順(1-12)
44
+ # @param [True, False] leaped 閏月/平月
45
+ # @param [String] days_name 月の大小
46
+ # @param [Day] first_day 月初日データ
47
+ # @param [SolarTerm] odd_solar_terms 二十四節気(節気)
48
+ # @param [SolarTerm] even_solar_terms 二十四節気(中気)
49
+ #
50
+ def initialize(number:, leaped:, days_name:, first_day:,
51
+ odd_solar_terms:, even_solar_terms:)
52
+ @number = number
53
+ @leaped = leaped
54
+ @days_name = days_name
55
+ @first_day = first_day
56
+ @odd_solar_terms = odd_solar_terms
57
+ @even_solar_terms = even_solar_terms
58
+ end
59
+ # rubocop:enable Metrics/ParameterLists
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../core'
4
+
5
+ require_relative 'year'
6
+
7
+ require_relative 'month'
8
+
9
+ require_relative 'day'
10
+
11
+ # :nodoc:
12
+ module Zakuro
13
+ #
14
+ # Result 演算結果
15
+ #
16
+ module Result
17
+ #
18
+ # データ部
19
+ #
20
+ module Data
21
+ #
22
+ # SingleDay 1日
23
+ #
24
+ class SingleDay < Core
25
+ # @return [Year] 年
26
+ attr_reader :year
27
+ # @return [Month] 月
28
+ attr_reader :month
29
+ # @return [Day] 日
30
+ attr_reader :day
31
+
32
+ #
33
+ # 初期化
34
+ #
35
+ # @param [Year] year 年
36
+ # @param [Month] month 月
37
+ # @param [Day] day 日
38
+ #
39
+ def initialize(year:, month:, day:)
40
+ super
41
+ @year = year
42
+ @month = month
43
+ @day = day
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # :nodoc:
4
+ module Zakuro
5
+ #
6
+ # Result 演算結果
7
+ #
8
+ module Result
9
+ #
10
+ # データ部
11
+ #
12
+ module Data
13
+ #
14
+ # SolarTerm 二十四節気
15
+ #
16
+ class SolarTerm
17
+ # @return [Integer] 連番
18
+ attr_reader :index
19
+ # @return [String] 大余小余
20
+ attr_reader :remainder
21
+
22
+ #
23
+ # 初期化
24
+ #
25
+ # @param [Integer] index 連番
26
+ # @param [String] remainder 大余小余
27
+ #
28
+ def initialize(index:, remainder:)
29
+ @index = index
30
+ @remainder = remainder
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative './gengou'
4
+
5
+ # :nodoc:
6
+ module Zakuro
7
+ #
8
+ # Result 演算結果
9
+ #
10
+ module Result
11
+ #
12
+ # データ部
13
+ #
14
+ module Data
15
+ #
16
+ # Year 年
17
+ #
18
+ class Year
19
+ # @return [Gengou] 元号(1行目)
20
+ attr_reader :first_gengou
21
+ # @return [Gengou] 元号(2行目)
22
+ attr_reader :second_gengou
23
+ # @return [String] 十干十二支
24
+ attr_reader :zodiac_name
25
+ # @return [Integer] 日数
26
+ attr_reader :total_days
27
+
28
+ #
29
+ # 初期化
30
+ #
31
+ # @param [Gengou] first_gengou 元号(1行目)
32
+ # @param [Gengou] second_gengou 元号(2行目)
33
+ # @param [String] zodiac_name 十干十二支
34
+ # @param [Integer] total_days 日数
35
+ #
36
+ def initialize(first_gengou:, second_gengou:, zodiac_name:, total_days:)
37
+ @first_gengou = first_gengou
38
+ @second_gengou = second_gengou
39
+ @zodiac_name = zodiac_name
40
+ @total_days = total_days
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ # :nodoc:
4
+ module Zakuro
5
+ #
6
+ # Result 演算結果
7
+ #
8
+ module Result
9
+ #
10
+ # 運用情報
11
+ #
12
+ module Operation
13
+ #
14
+ # Month 運用情報(月)
15
+ #
16
+ module Month
17
+ #
18
+ # Annotation 注釈
19
+ #
20
+ class Annotation
21
+ # @return [String] 注釈内容
22
+ attr_reader :description
23
+ # @return [String] 注釈補記
24
+ attr_reader :note
25
+
26
+ #
27
+ # 初期化
28
+ #
29
+ # @param [String] description 注釈内容
30
+ # @param [<Type>] note 注釈補記
31
+ #
32
+ def initialize(description:, note:)
33
+ @description = description
34
+ @note = note
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative './history'
4
+
5
+ # :nodoc:
6
+ module Zakuro
7
+ #
8
+ # Result 演算結果
9
+ #
10
+ module Result
11
+ #
12
+ # 運用情報
13
+ #
14
+ module Operation
15
+ #
16
+ # Month 運用情報(月)
17
+ #
18
+ module Month
19
+ #
20
+ # Bundle 月履歴集約情報
21
+ #
22
+ class Bundle
23
+ # @return [History] 月別履歴情報(当月)
24
+ attr_reader :current
25
+ # @return [History] 月別履歴情報(影響を与えた月)
26
+ attr_reader :parent
27
+
28
+ def initialize(current: History.new, parent: History.new)
29
+ @current = current
30
+ @parent = parent
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative './annotation'
4
+
5
+ # :nodoc:
6
+ module Zakuro
7
+ #
8
+ # Result 演算結果
9
+ #
10
+ module Result
11
+ #
12
+ # 運用情報
13
+ #
14
+ module Operation
15
+ #
16
+ # Month 運用情報(月)
17
+ #
18
+ module Month
19
+ #
20
+ # History 月別履歴情報
21
+ #
22
+ class History
23
+ # @return [String] ID
24
+ attr_reader :id
25
+ # @return [String] 月初日の西暦日
26
+ attr_reader :western_date
27
+ # @return [Integer] 原文頁数
28
+ attr_reader :page
29
+ # @return [Integer] 原文注釈番号
30
+ attr_reader :number
31
+ # @return [Array<Annotation>] 注釈
32
+ attr_reader :annotations
33
+
34
+ #
35
+ # 初期化
36
+ #
37
+ # @param [String] id ID
38
+ # @param [String] western_date 月初日の西暦日
39
+ # @param [Integer] page 原文頁数
40
+ # @param [Integer] number 原文注釈番号
41
+ # @param [Array<Annotation>] annotations 注釈
42
+ #
43
+ def initialize(id: '', western_date: '', page: -1, number: -1, annotations: [])
44
+ @id = id
45
+ @western_date = western_date
46
+ @page = page
47
+ @number = number
48
+ @annotations = annotations
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../data/single_day'
4
+
5
+ require_relative './month/bundle'
6
+
7
+ # :nodoc:
8
+ module Zakuro
9
+ #
10
+ # Result 演算結果
11
+ #
12
+ module Result
13
+ #
14
+ # 運用情報
15
+ #
16
+ module Operation
17
+ #
18
+ # Bundle 運用情報
19
+ #
20
+ class Bundle
21
+ # @return [True] 運用あり
22
+ # @return [False] 運用なし
23
+ attr_reader :operated
24
+ # @return [Month::Bundle] 月別履歴情報
25
+ attr_reader :month
26
+ # @return [Data::SingleDay] 計算値
27
+ attr_reader :original
28
+
29
+ #
30
+ # 初期化
31
+ #
32
+ # @param [True, False] operated 運用有無
33
+ # @param [Month::Bundle] month 月別履歴情報
34
+ # @param [Data::SingleDay] original 計算値
35
+ #
36
+ def initialize(operated:, month:, original:)
37
+ @operated = operated
38
+ @month = month
39
+ @original = original
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -2,9 +2,11 @@
2
2
 
3
3
  require 'json'
4
4
 
5
+ require_relative './data/single_day'
6
+
7
+ require_relative './operation/operation'
8
+
5
9
  require_relative './core'
6
- require_relative './data'
7
- require_relative './operation'
8
10
 
9
11
  # :nodoc:
10
12
  module Zakuro
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.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pldb
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-02 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: mainly lunar solar calendar
14
14
  email:
@@ -48,13 +48,20 @@ files:
48
48
  - lib/zakuro/calculation/cycle/abstract_remainder.rb
49
49
  - lib/zakuro/calculation/cycle/abstract_solar_term.rb
50
50
  - lib/zakuro/calculation/cycle/zodiac.rb
51
+ - lib/zakuro/calculation/era/gengou/abstract_scroll.rb
52
+ - lib/zakuro/calculation/era/gengou/dated_scroll.rb
51
53
  - lib/zakuro/calculation/era/gengou/internal/connector.rb
52
54
  - lib/zakuro/calculation/era/gengou/internal/counter.rb
53
55
  - lib/zakuro/calculation/era/gengou/internal/publisher.rb
54
56
  - lib/zakuro/calculation/era/gengou/internal/reserve.rb
55
- - lib/zakuro/calculation/era/gengou/internal/reserve/list.rb
56
- - lib/zakuro/calculation/era/gengou/internal/reserve/range.rb
57
- - lib/zakuro/calculation/era/gengou/scroll.rb
57
+ - lib/zakuro/calculation/era/gengou/internal/reserve/abstract_list.rb
58
+ - lib/zakuro/calculation/era/gengou/internal/reserve/abstract_range.rb
59
+ - lib/zakuro/calculation/era/gengou/internal/reserve/dated_list.rb
60
+ - lib/zakuro/calculation/era/gengou/internal/reserve/dated_range.rb
61
+ - lib/zakuro/calculation/era/gengou/internal/reserve/empty_link.rb
62
+ - lib/zakuro/calculation/era/gengou/internal/reserve/named_list.rb
63
+ - lib/zakuro/calculation/era/gengou/internal/reserve/named_range.rb
64
+ - lib/zakuro/calculation/era/gengou/named_scroll.rb
58
65
  - lib/zakuro/calculation/era/version/internal/crawler.rb
59
66
  - lib/zakuro/calculation/era/version/internal/range.rb
60
67
  - lib/zakuro/calculation/era/version/version.rb
@@ -64,23 +71,30 @@ files:
64
71
  - lib/zakuro/calculation/monthly/month.rb
65
72
  - lib/zakuro/calculation/monthly/month_label.rb
66
73
  - lib/zakuro/calculation/monthly/operated_month.rb
67
- - lib/zakuro/calculation/range/full_range.rb
74
+ - lib/zakuro/calculation/range/abstract_full_range.rb
75
+ - lib/zakuro/calculation/range/abstract_operation_range.rb
76
+ - lib/zakuro/calculation/range/dated_full_range.rb
77
+ - lib/zakuro/calculation/range/dated_operation_range.rb
68
78
  - lib/zakuro/calculation/range/medieval_annual_range.rb
69
- - lib/zakuro/calculation/range/operated_range.rb
79
+ - lib/zakuro/calculation/range/named_full_range.rb
80
+ - lib/zakuro/calculation/range/named_operation_range.rb
70
81
  - lib/zakuro/calculation/range/operated_solar_terms.rb
71
82
  - lib/zakuro/calculation/range/transfer/gengou_scroller.rb
72
83
  - lib/zakuro/calculation/range/transfer/year_boundary.rb
73
- - lib/zakuro/calculation/specifier/internal/month.rb
74
- - lib/zakuro/calculation/specifier/multiple_day.rb
75
- - lib/zakuro/calculation/specifier/single_day.rb
76
84
  - lib/zakuro/calculation/stella/lunar/abstract_location.rb
77
85
  - lib/zakuro/calculation/stella/lunar/choukei_value.rb
78
86
  - lib/zakuro/calculation/stella/solar/abstract_average.rb
79
87
  - lib/zakuro/calculation/stella/solar/abstract_location.rb
80
88
  - lib/zakuro/calculation/stella/solar/choukei_value.rb
89
+ - lib/zakuro/calculation/summary/internal/month.rb
81
90
  - lib/zakuro/calculation/summary/internal/operation.rb
82
- - lib/zakuro/calculation/summary/range.rb
83
- - lib/zakuro/calculation/summary/single.rb
91
+ - lib/zakuro/calculation/summary/japan/range.rb
92
+ - lib/zakuro/calculation/summary/japan/single.rb
93
+ - lib/zakuro/calculation/summary/japan/specifier/single_day.rb
94
+ - lib/zakuro/calculation/summary/western/range.rb
95
+ - lib/zakuro/calculation/summary/western/single.rb
96
+ - lib/zakuro/calculation/summary/western/specifier/multiple_day.rb
97
+ - lib/zakuro/calculation/summary/western/specifier/single_day.rb
84
98
  - lib/zakuro/calculation/type/old_float.rb
85
99
  - lib/zakuro/condition.rb
86
100
  - lib/zakuro/era/japan/calendar.rb
@@ -99,6 +113,16 @@ files:
99
113
  - lib/zakuro/era/japan/gengou/resource/yaml/set-003-modern.yaml
100
114
  - lib/zakuro/era/japan/version.rb
101
115
  - lib/zakuro/era/western/calendar.rb
116
+ - lib/zakuro/exception/case/pattern.rb
117
+ - lib/zakuro/exception/case/preset.rb
118
+ - lib/zakuro/exception/case/template.rb
119
+ - lib/zakuro/exception/cause.rb
120
+ - lib/zakuro/exception/exception.rb
121
+ - lib/zakuro/exception/zakuro_error.rb
122
+ - lib/zakuro/gateway/locale/date.rb
123
+ - lib/zakuro/gateway/locale/range.rb
124
+ - lib/zakuro/gateway/range.rb
125
+ - lib/zakuro/gateway/single.rb
102
126
  - lib/zakuro/merchant.rb
103
127
  - lib/zakuro/operation/month/parser.rb
104
128
  - lib/zakuro/operation/month/type.rb
@@ -109,8 +133,16 @@ files:
109
133
  - lib/zakuro/output/logger.rb
110
134
  - lib/zakuro/output/response.rb
111
135
  - lib/zakuro/result/core.rb
112
- - lib/zakuro/result/data.rb
113
- - lib/zakuro/result/operation.rb
136
+ - lib/zakuro/result/data/day.rb
137
+ - lib/zakuro/result/data/gengou.rb
138
+ - lib/zakuro/result/data/month.rb
139
+ - lib/zakuro/result/data/single_day.rb
140
+ - lib/zakuro/result/data/solar_term.rb
141
+ - lib/zakuro/result/data/year.rb
142
+ - lib/zakuro/result/operation/month/annotation.rb
143
+ - lib/zakuro/result/operation/month/bundle.rb
144
+ - lib/zakuro/result/operation/month/history.rb
145
+ - lib/zakuro/result/operation/operation.rb
114
146
  - lib/zakuro/result/result.rb
115
147
  - lib/zakuro/tools/stringifier.rb
116
148
  - lib/zakuro/tools/typeconv.rb