method
prev_week
v3.1.0 -
Show latest stable
- Class:
Date
prev_week(day = :monday)public
Returns a new Date/DateTime representing the start of the given day in the previous week (default is Monday).
prev_week(day = :monday)Returns a new Date/DateTime representing the start of the given day in the previous week (default is Monday).