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
)
Public Function IsInInterval (
p_DateTime As DateTime
) As Boolean
public:
bool IsInInterval(
DateTime p_DateTime
)
member IsInInterval :
p_DateTime : DateTime -> bool
Parameters
- p_DateTime
- Type: SystemDateTime
the datetime to check
Return Value
Type:
Booleantrue, 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