class Chronic::RepeaterYear
def build_offset_time(time, amount, direction)
def build_offset_time(time, amount, direction) year = time.year + (amount * direction) days = month_days(year, time.month) day = time.day > days ? days : time.day Time.construct(year, time.month, day, time.hour, time.min, time.sec) end