JavaScript API Reference for Oracle ADF Faces
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.2) E23186-01 |
||||||||
| 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 dateStringpublic Object setDate(Number dayOfTheMonth)dayOfTheMonth |
- | the day of the month |
Objectpublic Object setFullYear(Number year)year |
- | the 4-digit number representing the year |
Objectpublic Object setHours(Number hours)hours |
- | the hour of the day |
Objectpublic Object setMilliseconds(Number milliseconds)milliseconds |
- | the milliseconds division of the day |
Objectpublic Object setMinutes(Number minutes)minutes |
- | the minutes division of the day |
Objectpublic 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. |
Objectpublic Object setSeconds(Number seconds)seconds |
- | the seconds division of the day |
Objectpublic Object setTime(Number milliseconds)milliseconds |
- | the number of milliseconds since midnight of January 1st, 1970 Greenwich Mean Time (GMT) |
Objectpublic Object setUTCDate(Number dayOfTheMonth)dayOfTheMonth |
- | the day of the month according to Coordinated Universal Time (UTC) |
Objectpublic Object setUTCFullYear(Number year)year |
- | the 4-digit number representing the year according to Coordinated Universal Time (UTC) |
Objectpublic Object setUTCHours(Number hours)hours |
- | the hour of the day according to Coordinated Universal Time (UTC) |
Objectpublic Object setUTCMilliseconds(Number milliseconds)milliseconds |
- | the milliseconds division of the day according to Coordinated Universal Time (UTC) |
Objectpublic Object setUTCMinutes(Number minutes)minutes |
- | the minutes division of the day according to Coordinated Universal Time (UTC) |
Objectpublic 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) |
Objectpublic Object setUTCSeconds(Number seconds)seconds |
- | the seconds division of the day according to Coordinated Universal Time (UTC) |
Objectpublic Object setYear(Number year)setFullYear(Number) insteadyear |
- | the 2-, 3-, or maybe 4-digit number representing the year depending on the browser |
Objectpublic String toDateString()Date.String - a human-readable String representation of the date (non-time) portion of the Datepublic 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 Datepublic String toString()Date.String - a human-readable String representation of the Datepublic String toTimeString()Date.String - a human-readable String representation of the time (non-date) portion of the Datepublic 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 12c (12.1.2) E23186-01 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||