| 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
)
Public Shared Function Min (
value1 As TimeSpan,
value2 As TimeSpan
) As TimeSpan
Parameters
- value1
- Type: SystemTimeSpan
The first of two time spans. - value2
- Type: SystemTimeSpan
The second of two time spans.
Return Value
Type:
TimeSpanParameter value1 or value2, whichever is smaller.
See Also