CChristoffer Lerno- Cap durations and time to long::max/long::min with saturating maths.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(datetime): enable comparison operators (#3431) Co-authored-by: Christoffer Lerno <christoffer@aegik.com> | 2 个月前 | |
- RFC3339 formatting would yield incorrect value for microseconds. Refactor formatting GMT | 3 个月前 | |
- Cap durations and time to long::max/long::min with saturating maths. - Added `time::FOREVER_PAST`, `Time::diff_years`, `Time::diff_months`, `time::day`, `time::week`, `time::month`, `time::year`. - Added `double.is_inf`, `float.is_inf`. | 1 个月前 | |
Pair and Triple Compare w/ Unit Tests (#2359) * Pair and Triple Compare w/ Unit Tests * scope creep myself by adding date-time eq op * make Pair and Triple printable * Update releasenotes. Restrict equals on tuples to when underlying type supports `==`. Remove unnecessary Time.eq. --------- Co-authored-by: Christoffer Lerno <christoffer@aegik.com> | 1 年前 |