Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

FromTicks

static func FromTicks(ticks: long) -> Result<TimeOfDay, InvalidTimeError>

Declaring type: TimeOfDay
Module: System.Time
Assembly: System.Runtime.dll
Source file: TimeOfDay.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.

Return value

Result<TimeOfDay, InvalidTimeError>