Member group
Parse
Declaring type: TimeOfDay
Module: System.Time
Assembly: System.Runtime.dll
Source file: TimeOfDay.rvn
Overloads / Variants
Parse
static func Parse(value: string, culture: Culture) -> Result<TimeOfDay, DateTimeParseError>
Source file: TimeOfDay.rvn
Parses a supported numeric Gregorian value with an explicit culture.
Parameters
| Name | Type | Description |
|---|---|---|
value |
String | The complete culture-specific numeric representation. |
culture |
Culture | Invariant, SwedishSweden or HebrewIsrael conventions; no ambient culture is read. |
Return value
Result<TimeOfDay, DateTimeParseError>
A value or InvalidFormat/OutOfRange; no partial parse or rounding occurs.
Parse
static func Parse(value: string) -> Result<TimeOfDay, DateTimeParseError>
Source file: TimeOfDay.rvn
Parses a supported numeric civil value using Culture.Current.
Parameters
| Name | Type | Description |
|---|---|---|
value |
String | The complete text; whitespace, offsets and zone names are not accepted. |
Return value
Result<TimeOfDay, DateTimeParseError>
A value or InvalidFormat/OutOfRange. Use the explicit culture overload for deterministic input.