code: function(year) {
  			this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
  			return this._leapYear(year.year ? year.year() : year) ? 13 : 12;
  		}
docs: Retrieve the number of months in a year.
  @memberof HebrewCalendar
  @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.