Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Ensures that no time spans are negative.
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public Shared Function Normalize ( _
timeSpan As TimeSpan _
) As TimeSpan
'Usage
Dim timeSpan As TimeSpan
Dim returnValue As TimeSpan
returnValue = Scheduler.Normalize(timeSpan)
public static TimeSpan Normalize(
TimeSpan timeSpan
)
public:
static TimeSpan Normalize(
TimeSpan timeSpan
)
static member Normalize :
timeSpan:TimeSpan -> TimeSpan
public static function Normalize(
timeSpan : TimeSpan
) : TimeSpan
Parameters
- timeSpan
Type: System.TimeSpan
The time span to normalize.
Return Value
Type: System.TimeSpan
The time span if it zero or positive otherwise TimeSpan.Zero.