Documentation
1
2
3
4
5
6
7
8
9
// This is free and unencumbered software released into the public domain.

/// Rust type for representing values of the `xsd:duration` datatype.
#[cfg(feature = "jiff")]
pub use jiff::SignedDuration as Duration;

/// Rust type for representing values of the `xsd:duration` datatype.
#[cfg(not(feature = "jiff"))]
pub use core::time::Duration;