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
timeSpanTimeSpanThe TimeSpan to convert.
Returns
- TimeOnly
A TimeOnly representing the same time of day as the TimeSpan.