module DateAndTime::Calculations
def end_of_month
Returns a new date/time representing the end of the month.
def end_of_month last_day = ::Time.days_in_month(month, year) last_hour(days_since(last_day - day)) end
def end_of_month last_day = ::Time.days_in_month(month, year) last_hour(days_since(last_day - day)) end