Module: Zakuro::Calculation::Summary::Western::Specifier::SingleDay
- Defined in:
- lib/zakuro/calculation/summary/western/specifier/single_day.rb
Overview
SingleDay 一日検索
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.get(years: [], date: Western::Calendar.new) ⇒ Result::Data::SingleDay
取得する
38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/zakuro/calculation/summary/western/specifier/single_day.rb', line 38 def get(years: [], date: Western::Calendar.new) year, month = specify(years: years, date: date) day = Day.get(month: month, date: date) = Option.create(month: month, day: day) Output::Response::SingleDay.create( year: year, month: month, day: day, options: ) end |