Interface JS5DateFunctions
-
- All Superinterfaces:
JS5ObjectFunctions,JSDateFunctions,JSObjectFunctions
- All Known Implementing Classes:
JS5Date
public interface JS5DateFunctions extends JS5ObjectFunctions, JSDateFunctions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JS5StringtoISOString()function toISOString() converts a Date to ISO8601-formatted string.JS5StringtoJSON(JS5String key)function toJSON(key) JSON-serialize a Date object.-
Methods inherited from interface org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSDateFunctions
getDate, getDay, getFullYear, getHours, getMilliseconds, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getUTCDate, getUTCDay, getUTCFullYear, getUTCHours, getUTCMilliseconds, getUTCMinutes, getUTCMonth, getUTCSeconds, setDate, setFullYear, setHours, setMilliseconds, setMinutes, setMonth, setSeconds, setTime, setUTCDate, setUTCFullYear, setUTCHours, setUTCMilliseconds, setUTCMinute, setUTCMonth, setUTCSeconds, toDateString, toLocaleDateString, toLocaleString, toLocaleTimeString, toTimeString, toUTCString, valueOf
-
Methods inherited from interface org.fife.rsta.ac.js.ecma.api.ecma3.functions.JSObjectFunctions
hasOwnProperty, isPrototypeOf, propertyIsEnumerable, toString
-
-
-
-
Method Detail
-
toISOString
JS5String toISOString()
function toISOString() converts a Date to ISO8601-formatted string.- Since:
- Standard ECMA-262 5th. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Date
-
toJSON
JS5String toJSON(JS5String key)
function toJSON(key) JSON-serialize a Date object.- Parameters:
key- JSON.stringify() passes this argument.- Since:
- Standard ECMA-262 5th. Edition, Level 2 Document Object Model Core Definition.
- See Also:
Date,toISOString()
-
-