DateTimeInterval Class |
Namespace: Jam.Shell
The DateTimeInterval type exposes the following members.
Name | Description | |
---|---|---|
![]() | DateTimeInterval(DateTime, Boolean) |
Instantiates an open DateInterval.
If 'after' is true, IsInInterval(DateTime) returns true for all
all time points after the specified p_Time.
If 'after' is false, IsInInterval(DateTime) returns true for all
all time points that are before the p_Time specified.
|
![]() | DateTimeInterval(DateTime, DateTime) |
Instantiates a new DateInterval with both bounds specified.
|
Name | Description | |
---|---|---|
![]() | Max |
The right bound of the DateInterval.
To keep the bounds consistent if Max is set to a time point before Min, the bounds are switched.
|
![]() | Min |
The left bound of the DateInterval
To keep the bounds consistent if Min is set to a time point after Max, the bounds are switched.
|
Name | Description | |
---|---|---|
![]() | IsInInterval |
Checks whether the time given as a parameter is within the
interval specified by this DateInterval instance.
|
![]() | SetInterval |
p_MinTime and p_MaxTime cannot be set both to null.
p_MinTime must be a time point before p_MaxTime.
|