We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Represents a duration. A duration is represented as ISO8601 string.
duration
something
duration_format
to_duration() -> std::time::Duration
from_iso8601_duration(iso8601_duration_str: String)
parse(duration_with_time_unit: String)
as_secs() -> u64
as_millis() -> u128
from_millis(millis) -> result
from_secs(sec) -> result
add(lhs, rhs) -> result
sub(lhs, rhs) -> result
mul(lhs, rhs) -> result
div(lhs, rhs) -> result
The text was updated successfully, but these errors were encountered:
aschaeffer
No branches or pull requests
Goal
Represents a duration. A duration is represented as ISO8601 string.
Use Cases
duration
duration
duration
duration
duration
duration
duration
something
everyduration
Tasks
duration
(string)duration_format
to_duration() -> std::time::Duration
from_iso8601_duration(iso8601_duration_str: String)
parse(duration_with_time_unit: String)
(https://crates.io/crates/fundu#time-units)as_secs() -> u64
(https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs)as_millis() -> u128
(https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_millis)from_millis(millis) -> result
from_secs(sec) -> result
from_secs(sec) -> result
add(lhs, rhs) -> result
sub(lhs, rhs) -> result
mul(lhs, rhs) -> result
div(lhs, rhs) -> result
Reference
Crates
The text was updated successfully, but these errors were encountered: