Method IsValid
IsValid(TimeIndex)
Determines if a given time index is valid.
Declaration
public bool IsValid(TimeIndex timeIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeIndex | timeIndex | The time index to be checked. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified time index is valid; otherwise, false. |
IsValid(SamplingTime)
Determines if a given sampling time is valid.
Declaration
public bool IsValid(SamplingTime samplingTime)
Parameters
| Type | Name | Description |
|---|---|---|
| SamplingTime | samplingTime | The sampling time to be checked. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified sampling time is valid; otherwise, false. |