|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.6.0) E12046-07 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--org.ecmascript.object.Date
public class Date extends Object
Field Summary |
---|
Fields inherited from org.ecmascript.object.Object |
constructor, prototype |
Constructor Summary |
|
---|---|
public |
|
Method Summary |
|
---|---|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public Number |
|
public static Number |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public String |
|
public String |
|
public String |
|
public String |
|
public String |
|
public String |
|
public String |
|
public String |
|
public String |
|
public static Number |
Field Detail |
---|
Constructor Detail |
---|
public Date()
Method Detail |
---|
public Number getDate()
Number
- the day of the monthpublic Number getDay()
Number
- the day of the week represented by the number of days after Sunday, e.g. 0 = Sunday, 1 = Monday, etc.public Number getFullYear()
Number
- the 4-digit number representing the yearpublic Number getHours()
Number
- the hour of the daypublic Number getMilliseconds()
Number
- the milliseconds division of the daypublic Number getMinutes()
Number
- the minutes division of the daypublic Number getMonth()
Number
- the month of the year represented by the number of months after January, e.g. 0 = January, 1 = February, etc.public Number getSeconds()
Number
- the seconds division of the daypublic Number getTime()
Number
- the number of milliseconds since midnight of January 1st, 1970 Greenwich Mean Time (GMT)public Number getTimezoneOffset()
Number
- the number of minutes between the associated time zone and Greenwich Mean Time (GMT)public Number getUTCDate()
Number
- the day of the month according to Coordinated Universal Time (UTC)public Number getUTCDay()
Number
- the day of the week represented by the number of days after Sunday, e.g. 0 = Sunday, 1 = Monday, etc. according to Coordinated Universal Time (UTC)public Number getUTCFullYear()
Number
- the 4-digit number representing the year according to Coordinated Universal Time (UTC)public Number getUTCHours()
Number
- the hour of the day according to Coordinated Universal Time (UTC)public Number getUTCMilliseconds()
Number
- the milliseconds division of the day according to Coordinated Universal Time (UTC)public Number getUTCMinutes()
Number
- the minutes division of the day according to Coordinated Universal Time (UTC)public Number getUTCMonth()
Number
- the month of the year represented by the number of months after January, e.g. 0 = January, 1 = February, etc. according to Coordinated Universal Time (UTC)public Number getUTCSeconds()
Number
- the seconds division of the day according to Coordinated Universal Time (UTC)public Number getYear()
getFullYear()
insteadNumber
- the 2-, 3-, or maybe 4-digit number representing the year depending on the browserpublic static Number parse(String dateString)
dateString
.dateString |
- | a String representing the date |
Number
- the number of milliseconds since midnight of January 1st, 1970 Greenwich Mean Time (GMT) represented by dateString
public Object setDate(Number dayOfTheMonth)
dayOfTheMonth |
- | the day of the month |
Object
public Object setFullYear(Number year)
year |
- | the 4-digit number representing the year |
Object
public Object setHours(Number hours)
hours |
- | the hour of the day |
Object
public Object setMilliseconds(Number milliseconds)
milliseconds |
- | the milliseconds division of the day |
Object
public Object setMinutes(Number minutes)
minutes |
- | the minutes division of the day |
Object
public Object setMonth(Number month)
month |
- | the month of the year represented by the number of months after January, e.g. 0 = January, 1 = February, etc. |
Object
public Object setSeconds(Number seconds)
seconds |
- | the seconds division of the day |
Object
public Object setTime(Number milliseconds)
milliseconds |
- | the number of milliseconds since midnight of January 1st, 1970 Greenwich Mean Time (GMT) |
Object
public Object setUTCDate(Number dayOfTheMonth)
dayOfTheMonth |
- | the day of the month according to Coordinated Universal Time (UTC) |
Object
public Object setUTCFullYear(Number year)
year |
- | the 4-digit number representing the year according to Coordinated Universal Time (UTC) |
Object
public Object setUTCHours(Number hours)
hours |
- | the hour of the day according to Coordinated Universal Time (UTC) |
Object
public Object setUTCMilliseconds(Number milliseconds)
milliseconds |
- | the milliseconds division of the day according to Coordinated Universal Time (UTC) |
Object
public Object setUTCMinutes(Number minutes)
minutes |
- | the minutes division of the day according to Coordinated Universal Time (UTC) |
Object
public Object setUTCMonth(Number month)
month |
- | the month of the year represented by the number of months after January, e.g. 0 = January, 1 = February, etc. according to Coordinated Universal Time (UTC) |
Object
public Object setUTCSeconds(Number seconds)
seconds |
- | the seconds division of the day according to Coordinated Universal Time (UTC) |
Object
public Object setYear(Number year)
setFullYear(Number)
insteadyear |
- | the 2-, 3-, or maybe 4-digit number representing the year depending on the browser |
Object
public String toDateString()
Date
.String
- a human-readable String representation of the date (non-time) portion of the Date
public String toGMTString()
Date
according to Greenwich Mean Time (GMT).toUTCString()
insteadString
- a human-readable String representation of the Date
according to Greenwich Mean Time (GMT)public String toLocaleDateString()
Date
using a format indicated by the browser's Locale.String
- a human-readable String representation of the date (non-time) portion of the Date
using a format indicated by the browser's Localepublic String toLocaleString()
Date
using a format indicated by the browser's Locale.String
- a human-readable String representation of the Date
using a format indicated by the browser's Localepublic String toLocaleTimeString()
Date
using a format indicated by the browser's Locale.String
- a human-readable String representation of the time (non-date) portion of the Date
using a format indicated by the browser's Localepublic String toSource()
Date
.String
- a source code String representation of the Date
public String toString()
Date
.String
- a human-readable String representation of the Date
public String toTimeString()
Date
.String
- a human-readable String representation of the time (non-date) portion of the Date
public String toUTCString()
Date
according to Coordinated Universal Time (UTC).toUTCString()
insteadString
- a human-readable String representation of the Date
according to Coordinated Universal Time (UTC)public static Number UTC(Number year,
Number month,
Number dayOfTheMonth,
Number hours,
Number minutes,
Number seconds,
Number milliseconds)
year |
- | the 4-digit number representing the year according to Coordinated Universal Time (UTC) |
month |
- | the month of the year represented by the number of months after January, e.g. 0 = January, 1 = February, etc. according to Coordinated Universal Time (UTC) |
dayOfTheMonth |
- | the day of the month according to Coordinated Universal Time (UTC) |
hours |
- | the optional hours division of the day according to Coordinated Universal Time (UTC) |
minutes |
- | the optional minutes division of the day according to Coordinated Universal Time (UTC) |
seconds |
- | the optional seconds division of the day according to Coordinated Universal Time (UTC) |
milliseconds |
- | the optional milliseconds division of the day according to Coordinated Universal Time (UTC) |
Number
- the number of milliseconds between the specified point in time since midnight of January 1st, 1970 according to Coordinated Universal Time (UTC).
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.6.0) E12046-07 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |