class Chronic::RepeaterHour
def this(pointer = :future)
def this(pointer = :future) super case pointer when :future hour_start = Chronic.construct(@now.year, @now.month, @now.day, @now.hour, @now.min + 1) hour_end = Chronic.construct(@now.year, @now.month, @now.day, @now.hour + 1) when :past hour_start = Chronic.construct(@now.year, @now.month, @now.day, @now.hour) hour_end = Chronic.construct(@now.year, @now.month, @now.day, @now.hour, @now.min) when :none hour_start = Chronic.construct(@now.year, @now.month, @now.day, @now.hour) hour_end = hour_start + HOUR_SECONDS end Span.new(hour_start, hour_end) end