about summary refs log tree commit diff
path: root/src/libstd/time.rs
AgeCommit message (Expand)AuthorLines
2019-03-31libstd: deny(elided_lifetimes_in_paths)Mazdak Farrokhzad-3/+3
2019-03-22Make duration_since use checked_duration_sinceLinus Färnstrand-6/+2
2019-03-22Add/rename checked_duration_since testsLinus Färnstrand-6/+9
2019-03-12Make std time tests more robust for platform differencesJethro Beekman-9/+2
2019-02-28libstd => 2018Taiki Endo-8/+8
2019-02-23Rollup merge of #58595 - stjepang:make-duration-consts-associated, r=oli-obkMazdak Farrokhzad-3/+0
2019-02-20Turn duration consts into associated constsStjepan Glavina-3/+0
2019-02-17Rollup merge of #58395 - vi:checked_duration_since, r=dtolnaykennytm-0/+60
2019-02-13Add Instant::saturating_duration_sinceVitaly _Vi Shukela-0/+28
2019-02-13Fix tests for checked_duration_sinceVitaly _Vi Shukela-1/+3
2019-02-13Rollup merge of #58034 - faern:stabilize-time-checked-add, r=alexcrichtonMazdak Farrokhzad-8/+8
2019-02-13Add Instant::checked_duration_since, address #58402.Vitaly _Vi Shukela-0/+30
2019-02-10tests: doc commentsAlexander Regueiro-1/+1
2019-01-31Simplify lambdasLinus Färnstrand-4/+4
2019-01-31Stabilize the time_checked_add featureLinus Färnstrand-4/+4
2019-01-22Simplify units in Duration/Instant math on WindowsAlex Berghage-0/+9
2019-01-08Auto merge of #56988 - alexcrichton:monotonic-instant, r=sfacklerbors-1/+41
2019-01-07std: Force `Instant::now()` to be monotonicAlex Crichton-1/+41
2019-01-07Rollup merge of #57375 - stjepang:duration-constants, r=joshtriplettPietro Albini-0/+3
2019-01-07Specify the tracking issueStjepan Glavina-1/+1
2019-01-06Re-export constants from core into stdStjepan Glavina-0/+3
2019-01-02Auto merge of #56827 - faern:eliminate-recv-timeout-panic, r=KodrAusbors-0/+12
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-14Add documentation about panicking Add<Duration> implsLinus Färnstrand-0/+12
2018-12-13Add checked_sub for Instant and SystemTimeLinus Färnstrand-2/+22
2018-12-13Add checked_add method to Instant time typeLinus Färnstrand-2/+25
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-11-25Auto merge of #55527 - sgeisler:time-checked-add, r=sfacklerbors-0/+21
2018-11-18Increase `Duration` approximate equal threshold to 1usAlex Crichton-1/+1
2018-11-17std: Add debugging for a failing test on appveyorAlex Crichton-1/+5
2018-11-15Rename checked_add_duration to checked_add and make it take the duration by v...Sebastian Geisler-5/+5
2018-11-15Implement checked_add_duration for SystemTimeSebastian Geisler-0/+21
2018-05-28Stabilize SystemTime::UNIX_EPOCHThayne McCombs-2/+1
2018-03-30Fix doctestSteven Fackler-0/+1
2018-03-30Make UNIX_EPOCH an associated constant of SystemTimeSteven Fackler-0/+22
2018-03-24Add backticksPhlosioneer-2/+2
2018-03-11Remove "and may change between Rust releases"Phlosioneer-2/+2
2018-03-11Document when types have OS-dependent sizesPhlosioneer-0/+6
2018-01-29Move time::Duration to libcoreClar Charr-0/+565
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-1268/+0
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-13/+13
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-47/+47
2013-05-16syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)].Huon Wilson-6/+2
2013-05-10renamed str::from_slice to str::to_ownedYoungsoo Son-4/+4
2013-05-09libstd: rename vec::each(var) to var.eachYoungmin Yoo-9/+8
2013-04-27only use #[no_core] in libcoreDaniel Micay-9/+0
2013-04-20std: remove unused 'mut' variablesAlex Crichton-2/+2
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ...Huon Wilson-11/+11
2013-04-08Removing no longer needed unsafe blocksAlex Crichton-6/+2
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-182/+182