about summary refs log tree commit diff
path: root/src/libstd/time/duration.rs
AgeCommit message (Expand)AuthorLines
2018-01-29Move time::Duration to libcoreClar Charr-590/+0
2018-01-24Auto merge of #47300 - remexre:duration-constructors-as-const-fns, r=alexcric...bors-13/+16
2018-01-12Fix Duration::subsec_millis and Duration::subsec_micros examplesNeil Shen-2/+2
2018-01-09Fixes whitespace.Nathaniel Ringo-9/+9
2018-01-09Fixes Duration constructor const fns other than new, reverts new to non-const.Nathaniel Ringo-10/+13
2018-01-09Makes the constructors of Duration const fns.Nathaniel Ringo-5/+5
2017-12-21docs: do not call integer overflows as underflowsTrevor Spiteri-1/+1
2017-12-11Add more Duration methods for consistency.Clar Charr-1/+62
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-08-15use field init shorthand EVERYWHEREZack M. Davis-4/+4
2017-07-17`std::time::Duration`: improve _precision_ of terminology in docsCollin J. Sutton-14/+16
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
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-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-04-18Panic on overflow in `Duration::new` constructorTobias Bucher-1/+7
2016-04-02Inline Duration constructors and accessorsSteven Fackler-0/+5
2016-03-22Add augmented assignment operator impls for time typesSteven Fackler-1/+29
2016-03-12std: Clean out deprecated APIsAlex Crichton-16/+0
2016-01-10Derive Hash for DurationSteven Fackler-1/+1
2015-12-29Fix warnings when compiling stdlib with --testFlorian Hahn-1/+0
2015-12-05std: Stabilize APIs for the 1.6 releaseAlex Crichton-0/+2
2015-11-19std: Add Instant and SystemTime to std::timeAlex Crichton-3/+3
2015-11-18Add missing annotations and some testsVadim Petrochenkov-0/+4
2015-10-25Fix doc comment typoLee Jenkins-1/+1
2015-08-15std: Add issues to all unstable featuresAlex Crichton-1/+2
2015-08-12Remove all unstable deprecated functionalityAlex Crichton-17/+0
2015-08-11Register new snapshotsAlex Crichton-3/+0
2015-08-10Fix doc testSteven Fackler-1/+0
2015-08-10Add back and deprecate old methods.Steven Fackler-0/+17
2015-08-10Stabilize the Duration APISteven Fackler-47/+20
2015-08-03syntax: Implement #![no_core]Alex Crichton-0/+1
2015-05-13std: Redesign Duration, implementing RFC 1040Alex Crichton-494/+170
2015-04-21std: Remove deprecated/unstable num functionalityAlex Crichton-6/+3
2015-03-31Stabilize std::numAaron Turon-0/+1