Click or drag to resize

DateTimeIntervalIsInInterval Method

Checks whether the time given as a parameter is within the interval specified by this DateInterval instance.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax
public bool IsInInterval(
	DateTime p_DateTime
)

Parameters

p_DateTime
Type: SystemDateTime
the datetime to check

Return Value

Type: Boolean
true, if p_DateTime is after the minimum time and p_DateTime is before the maximum time. If the minimum was not specified (has been set to null) it returns true if p_DateTime is before the maximum time set. If the maximum was not specified it returns true if p_DateTime is after the minimum time set.
See Also