Matthias Krüger ba405a47bd
Rollup merge of #120307 - djc:duration-constructors, r=Mark-Simulacrum
core: add Duration constructors

Add more `Duration` constructors.

Tracking issue: #120301.

These match similar convenience constructors available on both `chrono::Duration` and `time::Duration`.

What's the best ordering for these with respect to the existing constructors?
2024-02-11 08:25:42 +01:00
..
2024-01-11 15:04:48 +03:00
2024-01-11 15:04:48 +03:00
2023-12-10 10:56:22 +08:00
2022-10-08 11:48:53 +00:00
2024-01-11 15:04:48 +03:00
2023-06-29 01:55:03 +02:00
2023-04-26 02:10:22 -04:00
2023-04-16 11:38:52 +00:00
2024-01-11 15:04:48 +03:00
2023-12-10 10:56:22 +08:00
2023-05-30 08:00:10 -04:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2024-01-11 15:04:48 +03:00
2023-07-03 14:05:55 +02:00
2024-02-07 10:42:01 +08:00
2023-07-12 21:38:55 -04:00
2023-11-04 15:27:25 -04:00
2023-12-10 10:56:22 +08:00
2024-01-11 15:04:48 +03:00
2022-09-27 19:23:52 +00:00
2024-01-11 15:04:48 +03:00
2023-11-26 08:50:39 -05:00
2022-08-20 12:49:20 -04:00
2022-12-30 14:00:42 +01:00
2023-01-02 10:33:23 -08:00
2024-01-24 14:24:57 +01:00