method

advance

v3.2.1 - Show latest stable - Class: Date
advance(options)
public

Provides precise Date calculations for years, months, and days. The options parameter takes a hash with any of these keys: :years, :months, :weeks, :days.