Click or drag to resize

DateTimeOperationsMax Method (TimeSpan, TimeSpan)

Returns the larger of two time spans.

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax
public static TimeSpan Max(
	TimeSpan value1,
	TimeSpan value2
)

Parameters

value1
Type: SystemTimeSpan
The first of two time spans.
value2
Type: SystemTimeSpan
The second of two time spans.

Return Value

Type: TimeSpan
Parameter value1 or value2, whichever is larger.
See Also