module DateAndTime::Calculations

def prev_day

Returns a new date/time representing the previous day.
def prev_day
  advance(days: -1)
end