Skip to content

Commit 10db47e

Browse files
committed
use DateDelta type to represent deltas between dates
* change Days to contain a u32 * addition of DaysDelta to NaiveDate * changes to Iterator Implementations * minor docs fixes
1 parent 3e2f151 commit 10db47e

File tree

3 files changed

+205
-64
lines changed

3 files changed

+205
-64
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ pub use format::{ParseError, ParseResult};
472472

473473
pub mod naive;
474474
#[doc(no_inline)]
475-
pub use naive::{Days, IsoWeek, NaiveDate, NaiveDateTime, NaiveTime, NaiveWeek};
475+
pub use naive::{Days, DaysDelta, IsoWeek, NaiveDate, NaiveDateTime, NaiveTime, NaiveWeek};
476476

477477
pub mod offset;
478478
#[cfg(feature = "clock")]

0 commit comments

Comments
 (0)