Function add_days_datetime

Source
pub(crate) fn add_days_datetime<Tz: TimeZone>(
    dt: DateTime<Tz>,
    days: i32,
) -> Option<DateTime<Tz>>
Expand description

Add the given number of days to the given datetime.

Returns None when it will result in overflow.