Sage Modeling and Simulation Library

TimeSpanOperations..::..Max Method

Gets the longer of the two TimeSpan objects.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static TimeSpan Max(
	TimeSpan ts1,
	TimeSpan ts2
)

Parameters

ts1
Type: TimeSpan
One TimeSpan.
ts2
Type: TimeSpan
The other TimeSpan.

Return Value

The longer of the two TimeSpan objects.