Expand description
Contains utility functions for shifting Date objects.
Re-exportsยง
use chrono::DateTime;๐use chrono::Days;๐use chrono::Months;๐use chrono::NaiveDate;๐use chrono::TimeZone;๐use std::cmp::Ordering;๐
Functionsยง
- add_
days_ ๐datetime - Add the given number of days to the given datetime.
- add_
months_ ๐date - Add the given number of months to the given date.
- add_
months_ ๐datetime - Add the given number of months to the given datetime.
- sub_
days_ ๐datetime - Subtract the given number of days to the given datetime.
- sub_
months_ ๐datetime - Subtract the given number of months to the given datetime.