Packageutil
Classpublic class TimeInterval

TimeInterval class provides functionality for working with periods of time



Public Methods
 MethodDefined by
  
isValidTime(checkTime:TimeObject, startTime:TimeObject, endTime:TimeObject):Boolean
[static] Checks whether the specified time belongs to time interval specified
TimeInterval
Method detail
isValidTime()method
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.