Module ActiveSupport::CoreExtensions::Date::Calculations::ClassMethods
In: lib/active_support/core_ext/date/calculations.rb

Methods

current   tomorrow   yesterday  

Public Instance methods

Returns Time.zone.today when config.time_zone is set, otherwise just returns Date.today.

Returns a new Date representing the date 1 day after today (i.e. tomorrow‘s date).

Returns a new Date representing the date 1 day ago (i.e. yesterday‘s date).

[Validate]