flexlib :: library Documentation | All Packages | All Classes | Index | Frames No Frames |
DateUtil

Package | flexlib.scheduling.util
Class | public class DateUtil
Inheritance | DateUtil Object

Public Methods

| Method | Defined By
--- | --- | ---
|  | addTime(date:Date, time:Number):Date [static] | DateUtil
|  | clearTime(date:Date):Date [static] | DateUtil
|  | copyDate(date:Date):Date [static] | DateUtil
|  | setTime(date:Date, time:Number):Date [static] | DateUtil

Public Constants

| Constant | Defined By
--- | --- | ---
|  | CENTURY_IN_MILLISECONDS : Number = 3.1104E12 [static] | DateUtil
|  | DAY_IN_MILLISECONDS : Number = 8.64E7 [static] | DateUtil
|  | HOUR_IN_MILLISECONDS : Number = 3600000.0 [static] | DateUtil
|  | MILLENIUM_IN_MILLISECONDS : Number = 3.1104E15 [static] | DateUtil
|  | MINUTE_IN_MILLISECONDS : Number = 60000.0 [static] | DateUtil
|  | MONTH_IN_MILLISECONDS : Number = 2.592E9 [static] | DateUtil
|  | WEEK_IN_MILLISECONDS : Number = 6.048E8 [static] | DateUtil
|  | YEAR_IN_MILLISECONDS : Number = 3.1104E10 [static] | DateUtil

Method Detail

addTime | () | method

`public static function addTime(date:Date, time:Number):Date`

Parameters

| `date:Date`
| `time:Number`

Returns

| `Date`

clearTime | () | method |

`public static function clearTime(date:Date):Date`

Parameters

| `date:Date`

Returns

| `Date`

copyDate | () | method |

`public static function copyDate(date:Date):Date`

Parameters

| `date:Date`

Returns

| `Date`

setTime | () | method |

`public static function setTime(date:Date, time:Number):Date`

Parameters

| `date:Date`
| `time:Number`

Returns

| `Date`

Constant Detail

CENTURY_IN_MILLISECONDS | Constant

`public static const CENTURY_IN_MILLISECONDS:Number = 3.1104E12`

DAY_IN_MILLISECONDS | Constant |

`public static const DAY_IN_MILLISECONDS:Number = 8.64E7`

HOUR_IN_MILLISECONDS | Constant |

`public static const HOUR_IN_MILLISECONDS:Number = 3600000.0`

MILLENIUM_IN_MILLISECONDS | Constant |

`public static const MILLENIUM_IN_MILLISECONDS:Number = 3.1104E15`

MINUTE_IN_MILLISECONDS | Constant |

`public static const MINUTE_IN_MILLISECONDS:Number = 60000.0`

MONTH_IN_MILLISECONDS | Constant |

`public static const MONTH_IN_MILLISECONDS:Number = 2.592E9`

WEEK_IN_MILLISECONDS | Constant |

`public static const WEEK_IN_MILLISECONDS:Number = 6.048E8`

YEAR_IN_MILLISECONDS | Constant |

`public static const YEAR_IN_MILLISECONDS:Number = 3.1104E10`

Mercredi Juillet 4 2012, 09:36 PM +02:00