Click or drag to resize

DateTimeOperationsMin Method (TimeSpan, TimeSpan)

Returns the smaller of two time spans.

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax
public static TimeSpan Min(
	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 smaller.
See Also