Add
Weekdayfor getting weekday of a date and weeks of given durations based on
various initial days- more
tmandjtmmethods to convert between C and Rust more easily:Date::from_jtm_ydayandDate::from_jtm_mdayMonthDay::from_jtmandMonthDay::to_jtm_mdayMonth::from_jtm_monandMonth::to_jtm_monOrdinal::from_tm_ydayandOrdinal::to_tm_ydayYear::from_jtm_yearandYear::to_jtm_year
- support for
core::ffiint types incodegen::resolve_typeandcffi IYmd(as a replacement for the removedIntYmd).rlibtype- support
From<SystemTime>onstdfeature - support
jifffeature
Remove
Date::update_jtmnot to have mut references or pointer to FFI if not
necessary- deprecated
MonthDay::LEAP_LAST_MONTH_DAY_MAX. - deprecated
MonthDay::NON_LEAP_LAST_MONTH_DAY_MAX. IntYmd(replaced withIYmd).
Fix
Orderingnot define (not publicly) in C headerscffinot being able to determineconstof pointers correctly in functions
(patterns in general).test --all-featuresbeing broken sincev0.4.1(4395e9d, "Addtm
support for C")wasm-optcomplaining about--enable-bulk-memorymissing for some setupsDate::add_days_strictnot takingIDayDiff::MAX(previous actual maximum
was aroundIDayDiff::MAX - self.ordinal)add_*_strictmethods onDateandMonthDayhaving wrongdid_saturateDate::add_months*method not working with negative values
Full Changelog: v0.4.2...v0.5.0