mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-30 14:32:19 +00:00
to -> from
This commit is contained in:
parent
181b083647
commit
9a2ba95388
@ -376,7 +376,7 @@ impl<Tz: TimeZone> DateTime<Tz> {
|
||||
.single()
|
||||
}
|
||||
|
||||
/// Subtract a duration in [`Days`] to the date part of the `DateTime`
|
||||
/// Subtract a duration in [`Days`] from the date part of the `DateTime`
|
||||
///
|
||||
/// Returns `None` if the resulting date would be out of range.
|
||||
pub fn checked_sub_days(self, days: Days) -> Option<Self> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user