Click or drag to resize

DateTimeOperationsMin(TimeSpan, TimeSpan) Method

Returns the smaller of two time spans.

Namespace: TomsToolbox.Essentials
Assembly: TomsToolbox.Essentials (in TomsToolbox.Essentials.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static TimeSpan Min(
	TimeSpan value1,
	TimeSpan value2
)

Parameters

value1  TimeSpan
The first of two time spans.
value2  TimeSpan
The second of two time spans.

Return Value

TimeSpan
Parameter value1 or value2, whichever is smaller.
See Also