Header menu logo TDesu.FSharp

TimeSpan Module

Functions and values

Function or value Description

TimeSpan.tryParse str

Full Usage: TimeSpan.tryParse str

Parameters:
    str : string

Returns: TimeSpan option
Modifiers: inline

Parses a string as TimeSpan using the ambient culture, returning Some(value) or None. For text that came from a machine rather than from a person, use tryParseInv — see the note at the top of this file. The string to parse.

str : string
Returns: TimeSpan option

TimeSpan.tryParseInv str

Full Usage: TimeSpan.tryParseInv str

Parameters:
    str : string

Returns: TimeSpan option
Modifiers: inline

Parses a string as TimeSpan against the invariant culture. This is the one to use for machine-generated text, whose meaning must not depend on the host's locale. The string to parse.

str : string
Returns: TimeSpan option

TimeSpan.tryParseInvV str

Full Usage: TimeSpan.tryParseInvV str

Parameters:
    str : string

Returns: TimeSpan voption
Modifiers: inline

Parses a string as TimeSpan against the invariant culture, returning ValueSome(value) or ValueNone. The string to parse.

str : string
Returns: TimeSpan voption

TimeSpan.tryParseV str

Full Usage: TimeSpan.tryParseV str

Parameters:
    str : string

Returns: TimeSpan voption
Modifiers: inline

Parses a string as TimeSpan using the ambient culture, returning ValueSome(value) or ValueNone. The string to parse.

str : string
Returns: TimeSpan voption

Type something to start searching.