Skip to content

Scheduler.Normalize(TimeSpan) method

Defined in

Type: Scheduler Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

netstandard2.0

public static TimeSpan Normalize(TimeSpan timeSpan)

Summary: Normalizes the specified TimeSpan value to a positive value.

Parameters

NameTypeDescription
timeSpanTimeSpanThe TimeSpan value to normalize.

Returns: TimeSpan -- The specified TimeSpan value if it is zero or positive; otherwise, Zero.