Method: When::CalendarNote::RokuyoWeek#_to_date_for_note

Defined in:
lib/when_exe/region/japanese/weeks.rb

#_to_date_for_note(date) ⇒ Object

暦日を太陰太陽暦日に変換



96
97
98
99
100
# File 'lib/when_exe/region/japanese/weeks.rb', line 96

def _to_date_for_note(date)
  return date if date.frame.kind_of?(When::CalendarTypes::ChineseLuniSolar)
  return When::Japanese ^ date if date.most_significant_coordinate >= 1873
  return Japanese._to_japanese_date(date)
end