FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StringToNullableTimeSpanTypeConverter

    struct · ferroui-reactiveui · v0.5.0

    struct StringToNullableTimeSpanTypeConverter
    

    Converts a text to an Option of Duration (TimeSpan) (StringToNullableTimeSpanTypeConverter): no text or an empty one converts to None.

    The text is read as TimeSpan.TryParse reads it: d, [d.]hh:mm[:ss[.fffffff]] or d:hh:mm:ss[.fffffff].

    View source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.