class ActiveSupport::Duration

def years(value) # :nodoc:

:nodoc:
def years(value) # :nodoc:
  new(value * SECONDS_PER_YEAR, { years: value }, true)
end