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