code: function () {
              if (!this.isSet(YEAR)) {
                  throw new Error('year must be set for KISSY GregorianCalendar');
              }
              var fields = this.fields;
              var year = fields[YEAR];
              var timeOfDay = 0;
              if (this.isSet(HOUR_OF_DAY)) {
                  timeOfDay += fields[HOUR_OF_DAY];
              }
              timeOfDay *= 60;
              timeOfDay += fields[MINUTE] || 0;
              timeOfDay *= 60;
              timeOfDay += fields[SECONDS] || 0;
              timeOfDay *= 1000;
              timeOfDay += fields[MILLISECONDS] || 0;
              var fixedDate = 0;
              fields[YEAR] = year;
              fixedDate = fixedDate + this.getFixedDate();    // millis represents local wall-clock time in milliseconds.
              // millis represents local wall-clock time in milliseconds.
              var millis = (fixedDate - EPOCH_OFFSET) * ONE_DAY + timeOfDay;
              millis -= this.timezoneOffset * ONE_MINUTE;
              this.time = millis;
              this.computeFields();
          }
docs: Converts calendar field values to the time value
  (millisecond offset from the Epoch).
  @protected