module JapaneseCalendar::Weekday::Calculations

Calculations module.

Private Instance Methods

weekday_abbreviation() click to toggle source

Returns a string representing the abbreviated name of the day of the week in Japanese (“日”).

# File lib/japanese_calendar/weekday/calculations.rb, line 21
def weekday_abbreviation
  weekday_name[0]
end
weekday_name() click to toggle source

Returns a string representing the full name of the day of the week in Japanese (“日曜日”).

# File lib/japanese_calendar/weekday/calculations.rb, line 15
def weekday_name
  NAMES[wday]
end