code: function(year, month, day, error) {
  			var date = $.calendars.baseCalendar.prototype._validate.apply(this, arguments);
  			if (date.year < 1276 || date.year > 1500) {
  				throw error.replace(/\{0\}/, this.local.name);
  			}
  			return date;
  		}
docs: Check that a candidate date is from the same calendar and is valid.
  @memberof UmmAlQuraCalendar
  @private
  @param year {CDate|number} The date to validate or the year to validate.
  @param month {number} The month to validate.
  @param day {number} The day to validate.
  @param error {string} Error message if invalid.
  @throws Error if different calendars used or invalid date.