Method
Create
static func Create(hour: int, minute: int, second: int, fractionTicks: int = 0) -> Result<TimeOfDay, InvalidTimeError>
Declaring type: TimeOfDay
Module: System.Time
Assembly: System.Runtime.dll
Source file: TimeOfDay.rvn
Validates the supplied time components and returns the value or its typed validation error.
Parameters
| Name | Type | Description |
|---|---|---|
hour |
Int32 | The hour, from 0 through 23. |
minute |
Int32 | The minute, from 0 through 59. |
second |
Int32 | The second, from 0 through 59. |
fractionTicks |
Int32 |