Flowdock
method

end_of_week

Importance_1
v5.0.0.1 - Show latest stable - 0 notes - Class: Calculations
end_of_week(start_day = Date.beginning_of_week) public

Returns a new date/time representing the end of this week on the given day. Week is assumed to start on start_day, default is Date.beginning_of_week or config.beginning_of_week when set. DateTime objects have their time set to 23:59:59.

Show source
Register or log in to add new notes.