perDiem
Patch notes:
You're better off looking through the docs to get a good idea of this crates ability
Adds:
OrdinalDate struct increase and decrease ordinally functions to_OrdinalDate Fixes:
Minor bug fixes mostly related to validation, some logic, and error handling
Normal README:
The Date struct:
Fields:
day: i8
month: i8
year: i16
Implementations
The DateTime struct:
Fields:
second: i8
minute: i8
hour: i8
day: i8
month: i8
year: i16
Implementations
The TimeDifference struct:
Used to represent the difference between Dates and DateTimes Fields:
second: i32
minute: i32
hour: i32
day: i32
month: i32
year: i32
Implementations
The TimeSpan enum:
Used for increase and decrease methods(WIP)
Variants:
second: i32
minute: i32
hour: i32
day: i32
month: i32
year: i32
Helper functions and methods:
as_Date -> Convert a forming a date to a Date - docs
with_separators -> Takes a date format such as ddmmyyy and inserts a separator in between fields - docs