class TimeBoss::Calendar::Quarter
Constants
- NUM_MONTHS
Public Instance Methods
name()
click to toggle source
Get a simple representation of this quarter. @return [String] (e.g. “2020Q3”)
# File lib/timeboss/calendar/quarter.rb, line 12 def name "#{year_index}Q#{index}" end
title()
click to toggle source
Get a “pretty” representation of this quarter. @return [String] (e.g. “Q3 2020”)
# File lib/timeboss/calendar/quarter.rb, line 18 def title "Q#{index} #{year_index}" end