Packagenet.guttershark.util
Classpublic class DateUtils2

The DateUtils2 class has date utility methods on it that either aren't provided in the Date class, or in Adobe's DateUtil class.



Public Methods
 MethodDefined by
  
RemainingUntil(futureDate:Date):Object
[static] Get the remaing time (seconds,hours,days,years) until the specified date will happen.
DateUtils2
Method detail
RemainingUntil()method
public static function RemainingUntil(futureDate:Date):Object

Get the remaing time (seconds,hours,days,years) until the specified date will happen.

Parameters
futureDate:Date — The target future date

Returns
Object — A generic object with these properties: {seconds:x,minutes:x,hours:x,days:x,years:x}