Expand description
Low-Level Date Algorithms Rust implementation from https://howardhinnant.github.io/date_algorithms.html
Calculates the date from std::time::SystemTime only
as described in the great article by Howard Hinnant
Functions§
- civil_
from_ days - Calculates the civil date from days
- date_
from_ duration - date_
from_ timestamp - date_
now - Convenience methode to calculate the cicil date from SystemTime::now
- days_
from_ civil - Calculates the days ellapsed from a given date
Type Aliases§
- Date
- Shorter type for result tuple (year, month, day, hours, minutes, seconds, milliseconds)