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