Table of Contents

Method ToTimeOnly

Namespace
YndigoBlue.Velocity.Utils
Assembly
YndigoBlue.Velocity.dll

ToTimeOnly(TimeSpan)

Converts a TimeSpan to a TimeOnly value.

public static TimeOnly ToTimeOnly(this TimeSpan timeSpan)

Parameters

timeSpan TimeSpan

The TimeSpan to convert.

Returns

TimeOnly

A TimeOnly representing the same time of day as the TimeSpan.