notquiteamonad / date_time

date_time is a high-level Rust library for use in situations where precision beyond seconds is not necessary.
Apache License 2.0
8 stars 5 forks source link

DateTuple Addition/Subtraction #14

Closed notquiteamonad closed 5 years ago

notquiteamonad commented 5 years ago

It would be nice to find the difference between two dates. This could include using helper methods such as to_days to facilitate this. The results should reflect exactly how many days' difference there are between.