The
DateUtil utility class is an all-static class with methods for working with dates.
public static function clone(d:Date):Date
Returns a shallow copy of the date object passed in argument.
Parameters
Returns
| Date — a shallow copy of the date object passed in argument.
|
public static function copy(d:Date):Date
Returns a deep copy of the date object passed in argument.
Parameters
Returns
| Date — a deep copy of the date object passed in argument.
|
public static function equals(d1:Date, d2:Date):Boolean
Compares the twno specified Date objects for equality.
Parameters
Returns
| Boolean — true if the the two specified Date object are equals.
|
public static function toSource(date:Date, ... rest):String
Returns a string representation the source code of the Date.
Parameters
Returns
| String — a string representation the source code of the Date.
|