Module: ActiveSupport::CoreExtensions::Time::Calculations::ClassMethods

Module | ActiveSupport::CoreExtensions::Time::Calculations::ClassMethods
In: | lib/active_support/core_ext/time/calculations.rb

### Methods

days_in_month

### Public Instance methods

days_in_month(month, year=nil)

Return the number of days in the given month. If a year is given, February will return the correct number of days for leap years. Otherwise, this method will always report February as having 28 days.

[Validate]