about summary refs log tree commit diff
path: root/library/core/src/time.rs
AgeCommit message (Expand)AuthorLines
2023-11-05Add `Duration::abs_diff`Ole Bertram-0/+21
2023-10-03Add missing inline attributes to Duration trait implsElichai Turkel-0/+9
2023-07-30Fix implementation of `Duration::checked_div`Jacob Pratt-4/+4
2023-04-20Use fmt::Alignment instead of fmt::rt::v1::Alignment.Mara Bos-1/+1
2023-04-16core is now compilableDeadbeef-16/+8
2022-11-06Bump version placeholders to releaseMark Rousskov-4/+4
2022-10-15Stabilize `duration_checked_float`Ryan Lopopolo-20/+17
2022-10-14Fix `Duration::{try_,}from_secs_f{32,64}(-0.0)`beetrees-1/+1
2022-09-29Fix integer overflow in `format!("{:.0?}", Duration::MAX)`beetrees-10/+29
2022-09-28Add a niche to `Duration`, unix `SystemTime`, and non-apple `Instant`beetrees-46/+52
2022-08-31Fix a bunch of typoDezhi Wu-3/+3
2022-08-10Rollup merge of #100353 - theli-ua:master, r=joshtriplettMichael Goulet-2/+2
2022-08-09Fix doc links in core::time::Duration::as_secsAnton Romanov-2/+2
2022-08-09Rename integer log* methods to ilog*Eric Holk-1/+1
2022-08-08Update Duration::as_secs doc to point to as_secs_f64/32 for including fractio...Anton Romanov-12/+4
2022-05-26Rollup merge of #96051 - newpavlov:duration_rounding, r=nagisa,joshtriplettMichael Goulet-27/+109
2022-05-27fmtАртём Павлов [Artyom Pavlov]-5/+1
2022-05-27fix nanos overflow for f64Артём Павлов [Artyom Pavlov]-9/+24
2022-05-27add debug assertsArtyom Pavlov-4/+8
2022-05-25tweak doctestsАртём Павлов [Artyom Pavlov]-8/+6
2022-05-25implement tie to evenАртём Павлов [Artyom Pavlov]-19/+73
2022-04-14Use rounding in float to Duration conversion methodsАртём Павлов-23/+38
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-4/+4
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-1/+1
2022-01-26Improve Duration::try_from_secs_f32/64 accuracy by directly processing expone...Артём Павлов [Artyom Pavlov]-101/+200
2021-11-30Apply cfg-bootstrap switchMark Rousskov-5/+0
2021-11-22Partially stabilize `duration_consts_2`Jacob Pratt-18/+23
2021-11-08Permit const assertions in stdlibJacob Pratt-2/+2
2021-10-31Rollup merge of #89897 - jkugelman:must-use-core, r=joshtriplettMatthias Krüger-0/+3
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+3
2021-10-27Remove extra lines in examples for `Duration::try_from_secs_*`mbartlett21-3/+0
2021-10-20Change `Duration::from_secs_*` underflow errormbartlett21-9/+7
2021-10-12Rollup merge of #89778 - jkugelman:must-use-as_type-conversions, r=joshtriplettthe8472-0/+6
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+6
2021-10-11Rollup merge of #89753 - jkugelman:must-use-from_value-conversions, r=joshtri...Guillaume Gomez-0/+6
2021-10-11Rollup merge of #89729 - jkugelman:must-use-core-std-constructors, r=joshtrip...Guillaume Gomez-0/+1
2021-10-10Add #[must_use] to from_value conversionsJohn Kugelman-0/+6
2021-10-10Rollup merge of #89720 - jkugelman:must-use-math-operations, r=joshtriplettMatthias Krüger-0/+26
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+1
2021-10-09Add #[must_use] to math and bit manipulation methodsJohn Kugelman-0/+26
2021-10-09Add #[must_use] to is_condition testsJohn Kugelman-0/+1
2021-09-16Make Duration's Debug format pad to widthMichiel De Muynck-22/+70
2021-08-29Adding examples to docs of std::time moduleJoão M. Bezerra-5/+12
2021-07-15Added diagnostic items to structs and traits for ClippyxFrednet-0/+1
2021-06-15Rollup merge of #82179 - mbartlett21:patch-5, r=joshtriplettYuki Okushi-24/+128
2021-06-14Use `try_from_secs_*` in `Duration::from_secs_*` functions.mbartlett21-30/+6
2021-06-14Add functions `Duration::try_from_secs_{f32, f64}`mbartlett21-0/+128
2021-05-03use `else if` in std librarywcampbell-6/+4
2021-04-26Rollup merge of #84120 - workingjubilee:stabilize-duration-max, r=m-ou-seMara Bos-3/+7
2021-04-25Update to reflect feedback on the constraintsJubilee Young-4/+6