Utility ValuesInProximity Method (DateTime, DateTime, TimeSpan)Bespoke Osc Library
Determine if two values are near each other.

Namespace: Bespoke.Common
Assembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax

Public Shared Function ValuesInProximity ( _
	value1 As DateTime, _
	value2 As DateTime, _
	proximityThreshold As TimeSpan _
) As Boolean

Return Value

true if the difference between the values is less than or equal to proximityThreshold; otherwise, false.
See Also