code: function(year, month, day) {
          var date = this._validate(year, month, day,
              _exports.local.invalidDate || _exports.regionalOptions[''].invalidDate);
          return _exports.instance().fromJD(this.toJD(date)).toJSDate();
      }
docs: Convert the date to a standard (Gregorian) JavaScript Date.
  @memberof BaseCalendar
  @param year {CDate|number} The date to convert or the year to convert.
  @param [month] {number} The month to convert.
  @param [day] {number} The day to convert.
  @return {Date} The equivalent JavaScript date.
  @throws Error if an invalid date or a different calendar used.