[]
Returns a value indicating whether a specified DateTime value belongs to the current interval of time.
public bool Contains(DateTime date)
Type | Name | Description |
---|---|---|
DateTime | date | The DateTime value to check. |
Type | Description |
---|---|
bool | True if value is in the interval; otherwise, False. |