code: function(jd) {
          var date = gregorianCalendar.fromJD(jd);
          var lunar = toLunar(date.year(), date.month(), date.day());
          var monthIndex = this.toMonthIndex(
              lunar.year, lunar.month, lunar.isIntercalary);
          return this.newDate(lunar.year, monthIndex, lunar.day);
      }
docs: Create a new date from a Julian date.
  @memberof ChineseCalendar
  @param jd {number} The Julian date to convert.
  @return {CDate} The equivalent date.