Class TimeSpanExtensions
- Namespace
- Stride.Core.Extensions
- Assembly
- Stride.Core.dll
public static class TimeSpanExtensions- Inheritance
- 
      objectTimeSpanExtensions
Methods
Clamp(TimeSpan, TimeSpan, TimeSpan)
public static TimeSpan Clamp(TimeSpan value, TimeSpan min, TimeSpan max)Parameters
Returns
FromMicroSeconds(long)
public static TimeSpan FromMicroSeconds(long microSeconds)Parameters
- microSecondslong
Returns
FromTimeStamp(long)
public static TimeSpan FromTimeStamp(long timestamp)Parameters
- timestamplong
Returns
FromTimeStamp(long, long)
public static TimeSpan FromTimeStamp(long timestamp, long frequency)Parameters
Returns
Max(TimeSpan, TimeSpan)
public static TimeSpan Max(TimeSpan left, TimeSpan right)Parameters
Returns
Min(TimeSpan, TimeSpan)
public static TimeSpan Min(TimeSpan left, TimeSpan right)Parameters
Returns
TotalMicroSeconds(TimeSpan)
public static long TotalMicroSeconds(this TimeSpan timeSpan)Parameters
- timeSpanTimeSpan