Method
FromTicks
static func FromTicks(ticks: long) -> Duration
Declaring type: Duration
Module: System.Time
Assembly: System.Runtime.dll
Source file: Duration.rvn
Creates a value from 100-nanosecond ticks; TimeOfDay rejects ticks outside a single day.
Parameters
| Name | Type | Description |
|---|---|---|
ticks |
Int64 | The number of 100-nanosecond ticks. |