addDaysToDate abstract method

T addDaysToDate(
  1. T date,
  2. int days
)

Returns a DateTime with the added number of days and time set to midnight.

Implementation

T addDaysToDate(T date, int days);