You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add more Duration* and Timestamp* adapters with different base units
The current Duration* and Timestamp* only support full seconds. Other
time units, like milliseconds, microseconds, or nanoseconds, are
sometimes required too.
/// Equivalent to [`DurationSecondsWithFrac`] with milli-seconds as base unit.
945
+
///
946
+
/// This type is equivalent to [`DurationSecondsWithFrac`] except that the each unit represents 1 milli-second instead of 1 second for [`DurationSecondsWithFrac`].
/// Equivalent to [`DurationSecondsWithFrac`] with micro-seconds as base unit.
963
+
///
964
+
/// This type is equivalent to [`DurationSecondsWithFrac`] except that the each unit represents 1 micro-second instead of 1 second for [`DurationSecondsWithFrac`].
/// Equivalent to [`DurationSecondsWithFrac`] with nano-seconds as base unit.
981
+
///
982
+
/// This type is equivalent to [`DurationSecondsWithFrac`] except that the each unit represents 1 nano-second instead of 1 second for [`DurationSecondsWithFrac`].
/// Equivalent to [`TimestampSecondsWithFrac`] with milli-seconds as base unit.
1271
+
///
1272
+
/// This type is equivalent to [`TimestampSecondsWithFrac`] except that the each unit represents 1 milli-second instead of 1 second for [`TimestampSecondsWithFrac`].
/// Equivalent to [`TimestampSecondsWithFrac`] with micro-seconds as base unit.
1289
+
///
1290
+
/// This type is equivalent to [`TimestampSecondsWithFrac`] except that the each unit represents 1 micro-second instead of 1 second for [`TimestampSecondsWithFrac`].
/// Equivalent to [`TimestampSecondsWithFrac`] with nano-seconds as base unit.
1307
+
///
1308
+
/// This type is equivalent to [`TimestampSecondsWithFrac`] except that the each unit represents 1 nano-second instead of 1 second for [`TimestampSecondsWithFrac`].
0 commit comments