TimeInterval class provides functionality for working with periods of time
public static function isValidTime(checkTime:TimeObject, startTime:TimeObject, endTime:TimeObject):Boolean
Checks whether the specified time belongs to time interval specified
Parameters
| checkTime:TimeObject — checkTime time that need to be tested
|
| |
| startTime:TimeObject — startTime the beginning of the interval
|
| |
| endTime:TimeObject — endTime the end of period
|
Returns
| Boolean — True - if time specified by checkTime belongs to interval specified, false otherwise.
|
Copyright DL1t, 2007