lib/zakuro/version/senmyou/senmyou.rb in zakuro-0.0.3 vs lib/zakuro/version/senmyou/senmyou.rb in zakuro-0.1.0

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true require 'date' require_relative '../abstract_version' require_relative '../../era/western' -require_relative 'summary/specifier' +require_relative 'summary/single' # :nodoc: module Zakuro # # Senmyou 宣明暦 @@ -25,10 +25,10 @@ # # @return [Result::SingleDay] 和暦日 # def self.to_japan_date(western_date:) date = Western::Calendar.create(date: western_date) - SingleDaySpecifier.get(date: date) + Single.get(date: date) end end end end