[]
Gets a VisualInterval object at the specified index.
public VisualInterval this[int index] { get; }
Type | Name | Description |
---|---|---|
int | index |
Gets a VisualInterval that includes the specified DateTime.
public VisualInterval this[DateTime time] { get; }
Type | Name | Description |
---|---|---|
DateTime | time | DateTime for which a VisualInterval to find. |
Type | Description |
---|---|
VisualInterval | Returns a VisualInterval that includes the specified DateTime, if exists; otherwise, a null value. |
A DateTime is considered as belonging to a VisualInterval if the following condition is satisfied:
StartTime <= DateTime and DateTime > EndTime
Note that the bottom boundary of the interval is exclusive, that is DateTime = EndTime is considered as not belonging to the interval.