about summary refs log tree commit diff
path: root/src/libstd/time
AgeCommit message (Expand)AuthorLines
2018-01-12Fix Duration::subsec_millis and Duration::subsec_micros examplesNeil Shen-2/+2
2017-12-21docs: do not call integer overflows as underflowsTrevor Spiteri-1/+1
2017-12-20Rollup merge of #46828 - vi:hash_for_systemtime_instant, r=dtolnaykennytm-2/+2
2017-12-19Add Hash impl for SystemTime and InstantVitaly _Vi Shukela-2/+2
2017-12-11Add more Duration methods for consistency.Clar Charr-1/+62
2017-09-23Auto merge of #44436 - MicroJoe:master, r=alexcrichtonbors-0/+23
2017-09-13from_micros: add feature nameRomain Porte-1/+2
2017-09-10from_micros: added issue number and fixed typoRomain Porte-2/+2
2017-09-10from_micros: Fix missing {Romain Porte-0/+1
2017-09-09from_micros: Added unstable annotationRomain Porte-0/+1
2017-09-09from_micros: Inlined return for consistencyRomain Porte-4/+1
2017-09-08Add Duration::from_microsRomain Porte-0/+23
2017-09-07Disable the 80-year-difference test on 32-bit-time_t platforms.kennytm-3/+6
2017-09-07Fix incorrect test in `time::tests::system_time_math`.kennytm-1/+1
2017-09-04std/time: Give an example to get UNIX_EPOCH in secondsAlexander von Gluck IV-0/+11
2017-08-17Rollup merge of #43891 - Fourchaux:master, r=steveklabnikCorey Farwell-1/+1
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-4/+4
2017-08-15Fix typos & us spellingsFourchaux-1/+1
2017-08-09Fix grammarSteven Fackler-1/+1
2017-08-08Instant is monotonically nondecreasingSteven Fackler-2/+2
2017-07-24Add a disabled builder for aarch64 emulated testsAlex Crichton-2/+10
2017-07-23Auto merge of #43256 - Others:patch-1, r=steveklabnikbors-4/+1
2017-07-17`std::time::Duration`: improve _precision_ of terminology in docsCollin J. Sutton-14/+16
2017-07-15Improve panic docs for Instant::duration_sinceOthers-4/+1
2017-05-03Add doc example for how to determine total number of secs in Duration.Corey Farwell-0/+15
2017-05-02Update Duration::as_secs doc example to demonstrate truncation.Corey Farwell-2/+2
2017-05-02Update Duration::from_millis doc example to show underlying values.Corey Farwell-1/+4
2017-05-02Update Duration::from_secs doc example to show underlying values.Corey Farwell-1/+4
2017-01-25std: Stabilize APIs for the 1.16.0 releaseAlex Crichton-12/+4
2017-01-19Auto merge of #38712 - clarcharr:duration_sum, r=sfacklerbors-0/+15
2017-01-13Rollup merge of #38362 - GuillaumeGomez:instant_doc, r=frewsxcvGuillaume Gomez-14/+115
2017-01-05Add time module missing docsGuillaume Gomez-14/+115
2016-12-30Sum for Duration.Clar Charr-0/+15
2016-12-14Add missing Duration examplesGuillaume Gomez-13/+66
2016-11-10std: Derive `Default` for `Duration`.Alex Crichton-1/+1
2016-09-29Reword description of SystemTimeError.Tomasz Miąsko-1/+1
2016-09-19Replace 'e.g.' by 'i.e.'Guillaume Gomez-2/+2
2016-09-14Add feature crate attribute for duration_checked_ops to docsEugene Bulkin-0/+8
2016-09-14Fix doc-tests for DurationEugene Bulkin-2/+10
2016-09-13Implement add, sub, mul and div methods using checked methods for DurationEugene Bulkin-35/+4
2016-09-13Fix Duration::checked_mul documentationEugene Bulkin-1/+1
2016-09-13Add checked operation methods to DurationEugene Bulkin-0/+162
2016-09-07Add doc example for `std::time::Instant::elapsed`.Corey Farwell-0/+12
2016-05-30std: Clean out old unstable + deprecated APIsAlex Crichton-15/+0
2016-05-12Use the correct word in the explanationStefan Schindler-1/+1
2016-04-18Panic on overflow in `Duration::new` constructorTobias Bucher-1/+7
2016-04-02Inline Duration constructors and accessorsSteven Fackler-0/+5
2016-03-26Rollup merge of #32448 - sfackler:time-augmented-assignment, r=alexcrichtonManish Goregaokar-2/+58
2016-03-23Add code examples for libstd/timeGuillaume Gomez-0/+50
2016-03-22Add augmented assignment operator impls for time typesSteven Fackler-2/+58