code: function(year) {
  			this._validate(year, this.minMonth, this.minDay,
  				$.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
  			return 12;
  		}
docs: Retrieve the number of months in a year.
  @memberof BaseCalendar
  @param year {CDate|number} The date to examine or the year to examine.
  @return {number} The number of months.
  @throws Error if an invalid year or a different calendar used.