OrdinalDate struct
increase and decrease ordinally functions
to_OrdinalDate
Finally adding decrease function for Date and DateTime(decrease_ordinally_as_new and decrease_ordinally)
Improves documentation a ton
Changed the start year for .new() for Date, DateTime, and OrdinalDate to 0, (Was 1)
Changed some doc descriptions
Removed unnecessary checks due to type restrictions
Made 24 an invalid hour(Should be hour 0)
Fixed 29/2 being change to a non leap year returning 28/2 rather than 1/3
Fields:
day
: i8
month
: i8
year
: i16
Implementations
Fields:
second
: i8
minute
: i8
hour
: i8
day
: i8
month
: i8
year
: i16
Implementations
Used to represent the difference between Dates and DateTimes Fields:
second
: i32minute
: i32
hour
: i32
day
: i32
month
: i32
year
: i32
Implementations
Used for increase and decrease methods(WIP)
Variants:
second
: i32minute
: i32
hour
: i32
day
: i32
month
: i32
year
: i32