Class: TimeBoss::Calendars::Gregorian

Inherits:
TimeBoss::Calendar show all
Includes:
Support::HasIsoWeeks
Defined in:
lib/timeboss/calendars/gregorian.rb

Defined Under Namespace

Classes: Basis

Instance Attribute Summary

Attributes inherited from TimeBoss::Calendar

#basis

Instance Method Summary collapse

Methods inherited from TimeBoss::Calendar

#name, #parse, #supports_weeks?, #title

Methods included from TimeBoss::Calendar::Waypoints::Relative

#days_ago, #days_ahead, #days_back, #days_for, #days_forward, #halves_ago, #halves_ahead, #halves_back, #halves_for, #halves_forward, #last_day, #last_half, #last_month, #last_quarter, #last_week, #last_year, #months_ago, #months_ahead, #months_back, #months_for, #months_forward, #next_day, #next_half, #next_month, #next_quarter, #next_week, #next_year, #quarters_ago, #quarters_ahead, #quarters_back, #quarters_for, #quarters_forward, #this_day, #this_half, #this_month, #this_quarter, #this_week, #this_year, #weeks_ago, #weeks_ahead, #weeks_back, #weeks_for, #weeks_forward, #years_ago, #years_ahead, #years_back, #years_for, #years_forward

Methods included from TimeBoss::Calendar::Waypoints::Absolute

#day, #day_for, #half, #half_for, #month, #month_for, #quarter, #quarter_for, #week, #week_for, #year, #year_for

Constructor Details

#initializeGregorian

Returns a new instance of Gregorian.



12
13
14
# File 'lib/timeboss/calendars/gregorian.rb', line 12

def initialize
  super(basis: Basis)
end