PackageTop Level
Classpublic dynamic class Date
InheritanceDate Inheritance Object



Public Properties
 PropertyDefined By
  date : Number
Date
  dateUTC : Number
Date
  day : Number
[read-only]
Date
  dayUTC : Number
[read-only]
Date
  fullYear : Number
Date
  fullYearUTC : Number
Date
  hours : Number
Date
  hoursUTC : Number
Date
  milliseconds : Number
Date
  millisecondsUTC : Number
Date
  minutes : Number
Date
  minutesUTC : Number
Date
  month : Number
Date
  monthUTC : Number
Date
  seconds : Number
Date
  secondsUTC : Number
Date
  time : Number
Date
  timezoneOffset : Number
[read-only]
Date
Public Methods
 MethodDefined By
  
Date(year:*, month:*, date:*, hours:*, minutes:*, seconds:*, ms:*)
Date
 Inherited
_init():*
[static]
_init
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
 Inherited
AS3
 Inherited
init():*
[static]
init
 Inherited
AS3
  
[static]
Date
 Inherited
AS3
  
setDate(date:*):Number
Date
  
setFullYear(year:*, month:*, date:*):Number
Date
  
setHours(hour:*, min:*, sec:*, ms:*):Number
Date
  
Date
  
setMinutes(min:*, sec:*, ms:*):Number
Date
  
setMonth(month:*, date:*):Number
Date
  
setSeconds(sec:*, ms:*):Number
Date
  
Date
  
Date
  
setUTCFullYear(year:*, month:*, date:*):Number
Date
  
setUTCHours(hour:*, min:*, sec:*, ms:*):Number
Date
  
Date
  
setUTCMinutes(min:*, sec:*, ms:*):Number
Date
  
setUTCMonth(month:*, date:*):Number
Date
  
setUTCSeconds(sec:*, ms:*):Number
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
Date
  
UTC(year:*, month:*, date:* = 1, hours:* = 0, minutes:* = 0, seconds:* = 0, ms:* = 0, ... rest):Number
[static]
Date
  
Date
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
  length : int = 7
[static]
Date
Property Detail
dateproperty
date:Number


Implementation
    public function get date():Number
    public function set date(value:Number):void
dateUTCproperty 
dateUTC:Number


Implementation
    public function get dateUTC():Number
    public function set dateUTC(value:Number):void
dayproperty 
day:Number  [read-only]


Implementation
    public function get day():Number
dayUTCproperty 
dayUTC:Number  [read-only]


Implementation
    public function get dayUTC():Number
fullYearproperty 
fullYear:Number


Implementation
    public function get fullYear():Number
    public function set fullYear(value:Number):void
fullYearUTCproperty 
fullYearUTC:Number


Implementation
    public function get fullYearUTC():Number
    public function set fullYearUTC(value:Number):void
hoursproperty 
hours:Number


Implementation
    public function get hours():Number
    public function set hours(value:Number):void
hoursUTCproperty 
hoursUTC:Number


Implementation
    public function get hoursUTC():Number
    public function set hoursUTC(value:Number):void
millisecondsproperty 
milliseconds:Number


Implementation
    public function get milliseconds():Number
    public function set milliseconds(value:Number):void
millisecondsUTCproperty 
millisecondsUTC:Number


Implementation
    public function get millisecondsUTC():Number
    public function set millisecondsUTC(value:Number):void
minutesproperty 
minutes:Number


Implementation
    public function get minutes():Number
    public function set minutes(value:Number):void
minutesUTCproperty 
minutesUTC:Number


Implementation
    public function get minutesUTC():Number
    public function set minutesUTC(value:Number):void
monthproperty 
month:Number


Implementation
    public function get month():Number
    public function set month(value:Number):void
monthUTCproperty 
monthUTC:Number


Implementation
    public function get monthUTC():Number
    public function set monthUTC(value:Number):void
secondsproperty 
seconds:Number


Implementation
    public function get seconds():Number
    public function set seconds(value:Number):void
secondsUTCproperty 
secondsUTC:Number


Implementation
    public function get secondsUTC():Number
    public function set secondsUTC(value:Number):void
timeproperty 
time:Number


Implementation
    public function get time():Number
    public function set time(value:Number):void
timezoneOffsetproperty 
timezoneOffset:Number  [read-only]


Implementation
    public function get timezoneOffset():Number
Constructor Detail
Date()Constructor
public function Date(year:*, month:*, date:*, hours:*, minutes:*, seconds:*, ms:*)



Parameters
year:* (default = NaN)
 
month:* (default = NaN)
 
date:* (default = NaN)
 
hours:* (default = NaN)
 
minutes:* (default = NaN)
 
seconds:* (default = NaN)
 
ms:* (default = NaN)
Method Detail
getDate()method
AS3 function getDate():Number

Returns
Number
getDay()method 
AS3 function getDay():Number

Returns
Number
getFullYear()method 
AS3 function getFullYear():Number

Returns
Number
getHours()method 
AS3 function getHours():Number

Returns
Number
getMilliseconds()method 
AS3 function getMilliseconds():Number

Returns
Number
getMinutes()method 
AS3 function getMinutes():Number

Returns
Number
getMonth()method 
AS3 function getMonth():Number

Returns
Number
getSeconds()method 
AS3 function getSeconds():Number

Returns
Number
getTime()method 
AS3 function getTime():Number

Returns
Number
getTimezoneOffset()method 
AS3 function getTimezoneOffset():Number

Returns
Number
getUTCDate()method 
AS3 function getUTCDate():Number

Returns
Number
getUTCDay()method 
AS3 function getUTCDay():Number

Returns
Number
getUTCFullYear()method 
AS3 function getUTCFullYear():Number

Returns
Number
getUTCHours()method 
AS3 function getUTCHours():Number

Returns
Number
getUTCMilliseconds()method 
AS3 function getUTCMilliseconds():Number

Returns
Number
getUTCMinutes()method 
AS3 function getUTCMinutes():Number

Returns
Number
getUTCMonth()method 
AS3 function getUTCMonth():Number

Returns
Number
getUTCSeconds()method 
AS3 function getUTCSeconds():Number

Returns
Number
parse()method 
public static function parse(s:*):Number

Parameters

s:*

Returns
Number
setDate()method 
AS3 function setDate(date:*):Number

Parameters

date:* (default = NaN)

Returns
Number
setFullYear()method 
AS3 function setFullYear(year:*, month:*, date:*):Number

Parameters

year:* (default = NaN)
 
month:* (default = NaN)
 
date:* (default = NaN)

Returns
Number
setHours()method 
AS3 function setHours(hour:*, min:*, sec:*, ms:*):Number

Parameters

hour:* (default = NaN)
 
min:* (default = NaN)
 
sec:* (default = NaN)
 
ms:* (default = NaN)

Returns
Number
setMilliseconds()method 
AS3 function setMilliseconds(ms:*):Number

Parameters

ms:* (default = NaN)

Returns
Number
setMinutes()method 
AS3 function setMinutes(min:*, sec:*, ms:*):Number

Parameters

min:* (default = NaN)
 
sec:* (default = NaN)
 
ms:* (default = NaN)

Returns
Number
setMonth()method 
AS3 function setMonth(month:*, date:*):Number

Parameters

month:* (default = NaN)
 
date:* (default = NaN)

Returns
Number
setSeconds()method 
AS3 function setSeconds(sec:*, ms:*):Number

Parameters

sec:* (default = NaN)
 
ms:* (default = NaN)

Returns
Number
setTime()method 
AS3 function setTime(t:*):Number

Parameters

t:* (default = NaN)

Returns
Number
setUTCDate()method 
AS3 function setUTCDate(date:*):Number

Parameters

date:* (default = NaN)

Returns
Number
setUTCFullYear()method 
AS3 function setUTCFullYear(year:*, month:*, date:*):Number

Parameters

year:* (default = NaN)
 
month:* (default = NaN)
 
date:* (default = NaN)

Returns
Number
setUTCHours()method 
AS3 function setUTCHours(hour:*, min:*, sec:*, ms:*):Number

Parameters

hour:* (default = NaN)
 
min:* (default = NaN)
 
sec:* (default = NaN)
 
ms:* (default = NaN)

Returns
Number
setUTCMilliseconds()method 
AS3 function setUTCMilliseconds(ms:*):Number

Parameters

ms:* (default = NaN)

Returns
Number
setUTCMinutes()method 
AS3 function setUTCMinutes(min:*, sec:*, ms:*):Number

Parameters

min:* (default = NaN)
 
sec:* (default = NaN)
 
ms:* (default = NaN)

Returns
Number
setUTCMonth()method 
AS3 function setUTCMonth(month:*, date:*):Number

Parameters

month:* (default = NaN)
 
date:* (default = NaN)

Returns
Number
setUTCSeconds()method 
AS3 function setUTCSeconds(sec:*, ms:*):Number

Parameters

sec:* (default = NaN)
 
ms:* (default = NaN)

Returns
Number
toDateString()method 
AS3 function toDateString():String

Returns
String
toLocaleDateString()method 
AS3 function toLocaleDateString():String

Returns
String
toLocaleString()method 
AS3 function toLocaleString():String

Returns
String
toLocaleTimeString()method 
AS3 function toLocaleTimeString():String

Returns
String
toString()method 
AS3 function toString():String

Returns
String
toTimeString()method 
AS3 function toTimeString():String

Returns
String
toUTCString()method 
AS3 function toUTCString():String

Returns
String
UTC()method 
public static function UTC(year:*, month:*, date:* = 1, hours:* = 0, minutes:* = 0, seconds:* = 0, ms:* = 0, ... rest):Number

Parameters

year:*
 
month:*
 
date:* (default = 1)
 
hours:* (default = 0)
 
minutes:* (default = 0)
 
seconds:* (default = 0)
 
ms:* (default = 0)
 
... rest

Returns
Number
valueOf()method 
AS3 function valueOf():Number

Returns
Number
Constant Detail
lengthConstant
public static const length:int = 7