{"json_modified": "2015-04-22T09:36:08.420569", "slug": "Web/JavaScript/Reference/Global_Objects/Date/setYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "locale": "ru", "title": "Date.prototype.setYear()", "translations": [{"title": "Date.prototype.setYear()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "summary": "The setYear() method sets the year for a specified date according to local time. Because setYear() does not set full years (\"year 2000 problem\"), it is no longer used and has been replaced by the setFullYear() method.", "localization_tags": [], "locale": "en-US", "last_edit": "2014-10-29T05:44:01", "review_tags": []}, {"title": "Date.prototype.setYear()", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Date/setYear", "tags": ["prototype", "Method", "Date", "JavaScript"], "summary": "Ustawia rok dla okre\u015blonej daty stosownie do czasu lokalnego. Aby m\u00f3c korzysta\u0107 z rocznik\u00f3w przed i po roku 2000, powiniene\u015b u\u017cy\u0107 metody setFullYear() zawieraj\u0105cej setYear(), kt\u00f3ra rok potrafi okre\u015bli\u0107 w pe\u0142ni.", "localization_tags": [], "locale": "pl", "last_edit": "2015-04-19T10:21:34", "review_tags": []}, {"title": "Date.prototype.setYear()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/setYear", "tags": ["Reference", "Date", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Deprecated", "Method"], "summary": "", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-17T13:55:09", "review_tags": []}, {"title": "Date.prototype.setYear()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear", "tags": [], "summary": "The setYear() method sets the year for a specified date according to local time. Because setYear does not set full years (\"year 2000 problem\"), it is no longer used and has been replaced by the setFullYear method.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-04-17T05:08:15", "review_tags": []}], "modified": "2015-04-22T09:36:07", "label": "Date.prototype.setYear()", "localization_tags": [], "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear", "last_edit": "2014-10-29T05:54:43", "summary": "", "sections": [{"id": "Quick_Links", "title": "\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b Date \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Date.prototype \u041c\u0435\u0442\u043e\u0434\u044b Date.UTC() Date.now() Date.parse() Date.prototype.getDate() Date.prototype.getDay() Date.prototype.getFullYear() Date.prototype.getHours() Date.prototype.getMilliseconds() Date.prototype.getMinutes() Date.prototype.getMonth() Date.prototype.getSeconds() Date.prototype.getTime() Date.prototype.getTimezoneOffset() Date.prototype.getUTCDate() Date.prototype.getUTCDay() Date.prototype.getUTCFullYear() Date.prototype.getUTCHours() Date.prototype.getUTCMilliseconds() Date.prototype.getUTCMinutes() Date.prototype.getUTCMonth() Date.prototype.getUTCSeconds() Date.prototype.getYear() Date.prototype.setDate() Date.prototype.setFullYear() Date.prototype.setHours() Date.prototype.setMilliseconds() Date.prototype.setMinutes() Date.prototype.setMonth() Date.prototype.setSeconds() Date.prototype.setTime() Date.prototype.setUTCDate() Date.prototype.setUTCFullYear() Date.prototype.setUTCHours() Date.prototype.setUTCMilliseconds() Date.prototype.setUTCMinutes() Date.prototype.setUTCMonth() Date.prototype.setUTCSeconds() Date.prototype.setYear() Date.prototype.toDateString() Date.prototype.toGMTString() Date.prototype.toISOString() Date.prototype.toJSON() Date.prototype.toLocaleDateString() Date.prototype.toLocaleFormat() Date.prototype.toLocaleString() Date.prototype.toLocaleTimeString() Date.prototype.toSource() Date.prototype.toString() Date.prototype.toTimeString() Date.prototype.toUTCString() Date.prototype.valueOf() \u0423\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0435 Function \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Function.arguments Function.arity Function.caller Function.displayName Function.length Function.name Function.prototype \u041c\u0435\u0442\u043e\u0434\u044b Function.prototype.apply() Function.prototype.bind() Function.prototype.call() Function.prototype.isGenerator() Function.prototype.toSource() Function.prototype.toString() Object \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Object.prototype.__count__ Object.prototype.__noSuchMethod__ Object.prototype.__parent__ Object.prototype.__proto__ Object.prototype.constructor \u041c\u0435\u0442\u043e\u0434\u044b Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() Object.prototype.hasOwnProperty() Object.prototype.isPrototypeOf() Object.prototype.propertyIsEnumerable() Object.prototype.toLocaleString() Object.prototype.toSource() Object.prototype.toString() Object.prototype.unwatch() Object.prototype.valueOf() Object.prototype.watch()"}, {"id": "Summary", "title": "\u0421\u0432\u043e\u0434\u043a\u0430"}, {"id": "Syntax", "title": "\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441"}, {"id": "Parameters", "title": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b"}, {"id": "Description", "title": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435"}, {"id": "Examples", "title": "\u041f\u0440\u0438\u043c\u0435\u0440\u044b"}, {"id": "Example:_Using_setYear", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 setYear()"}, {"id": "Specifications", "title": "\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438"}, {"id": "Browser_compatibility", "title": "\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438"}, {"id": "See_also", "title": "\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435"}], "id": 129313, "review_tags": []}