jquery-src/jquery.calendars.js
function(year, month, day) {
			if (!this._calendar.isValid(year, month, day)) {
				throw ($.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate).
					replace(/\{0\}/, this._calendar.local.name);
			}
			this._year = year;
			this._month = month;
			this._day = day;
			return this;
		}
function(year, month, day) {
			if (!this._calendar.isValid(year, month, day)) {
				throw ($.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate).
					replace(/\{0\}/, this._calendar.local.name);
			}
			this._year = year;
			this._month = month;
			this._day = day;
			return this;
		}
function ( year , month , day ) { if ( ! this . _calendar . isValid ( year , month , day ) ) { throw ( $ . calendars . local . invalidDate || $ . calendars . regionalOptions [ '' ] . invalidDate ) . replace ( / \{0\} / , this . _calendar . local . name ) ; } this . _year = year ; this . _month = month ; this . _day = day ; return this ; }
Set new values for this date.
@memberof CDate
@param year {number} The year for the date.
@param month {number} The month for the date.
@param day {number} The day for the date.
@return {CDate} The updated date.
@throws Error if an invalid date.
Set new values for this date .