|
1010 | 1010 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/toDateString", |
1011 | 1011 | "!doc": "Returns the date portion of a Date object in human readable form in American English." |
1012 | 1012 | }, |
| 1013 | + "toGMTString": { |
| 1014 | + "!type": "fn() -> string", |
| 1015 | + "!url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toGMTString", |
| 1016 | + "!doc": "Returns a string representing the Date based on the GMT (UT) time zone." |
| 1017 | + }, |
1013 | 1018 | "toTimeString": { |
1014 | 1019 | "!type": "fn() -> string", |
1015 | 1020 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/toTimeString", |
|
1020 | 1025 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/toLocaleDateString", |
1021 | 1026 | "!doc": "Converts a date to a string, returning the \"date\" portion using the operating system's locale's conventions." |
1022 | 1027 | }, |
| 1028 | + "toLocaleFormat": { |
| 1029 | + "!type": "fn(formatString: string) -> string", |
| 1030 | + "!url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleFormat", |
| 1031 | + "!doc": "Converts a date to a string, using a format string." |
| 1032 | + }, |
| 1033 | + "toLocaleString": { |
| 1034 | + "!type": "fn(locales?: string, options?: ?) -> string", |
| 1035 | + "!url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString", |
| 1036 | + "!doc": "Returns a string with a locality sensitive representation of this date." |
| 1037 | + }, |
1023 | 1038 | "toLocaleTimeString": { |
1024 | 1039 | "!type": "fn() -> string", |
1025 | 1040 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString", |
1026 | 1041 | "!doc": "Converts a date to a string, returning the \"time\" portion using the current locale's conventions." |
1027 | 1042 | }, |
| 1043 | + "toSource": { |
| 1044 | + "!type": "fn() -> string", |
| 1045 | + "!url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toSource", |
| 1046 | + "!doc": "A string representing the source code of the given Date object." |
| 1047 | + }, |
| 1048 | + "toString": { |
| 1049 | + "!type": "fn() -> string", |
| 1050 | + "!url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toString", |
| 1051 | + "!doc": "A string representing the given date." |
| 1052 | + }, |
| 1053 | + "valueOf": { |
| 1054 | + "!type": "fn() -> number", |
| 1055 | + "!url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf", |
| 1056 | + "!doc": "Returns the primitive value of a Date object." |
| 1057 | + }, |
1028 | 1058 | "getTime": { |
1029 | 1059 | "!type": "fn() -> number", |
1030 | 1060 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/getTime", |
|
1070 | 1100 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/getUTCDay", |
1071 | 1101 | "!doc": "Returns the day of the week in the specified date according to universal time." |
1072 | 1102 | }, |
| 1103 | + "getUTCFullYear": { |
| 1104 | + "!type": "fn() -> number", |
| 1105 | + "!url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCFullYear", |
| 1106 | + "!doc": "The getUTCFullYear() method returns the year in the specified date according to universal time." |
| 1107 | + }, |
1073 | 1108 | "getHours": { |
1074 | 1109 | "!type": "fn() -> number", |
1075 | 1110 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/getHours", |
|
1130 | 1165 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/setUTCFullYear", |
1131 | 1166 | "!doc": "Sets the full year for a specified date according to universal time." |
1132 | 1167 | }, |
| 1168 | + "setYear": { |
| 1169 | + "!type": "fn(yearValue: number) -> number", |
| 1170 | + "!url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear", |
| 1171 | + "!doc": "Sets the year (usually 2-3 digits) for a specified date according to local time." |
| 1172 | + }, |
1133 | 1173 | "setMonth": { |
1134 | 1174 | "!type": "fn(month: number) -> number", |
1135 | 1175 | "!url": "https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/setMonth", |
|
0 commit comments