SunAndShadowSettings.IsTimeIntervalValid
Method
Description:
Checks whether the time interval is valid for the SunAndShadowType.
Checks whether the time interval is valid for the SunAndShadowType.
Parameters
Parameter | Type | Description |
---|---|---|
interval | SunStudyTimeInterval | Time interval value. |
Return Value
Type | Description |
---|---|
Boolean | True if the time interval is valid for the current SunAndShadowType, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |