class Chronic::RepeaterSeason
def find_next_season_span(direction, next_season)
def find_next_season_span(direction, next_season) if !@next_season_start or !@next_season_end @next_season_start = Time.construct(@now.year, @now.month, @now.day) @next_season_end = Time.construct(@now.year, @now.month, @now.day) end @next_season_start += direction * num_seconds_til_start(next_season, direction) @next_season_end += direction * num_seconds_til_end(next_season, direction) construct_season(@next_season_start, @next_season_end) end