code: function (date) {
  
          date = numberUtil.parseDate(date);
  
          var y = date.getFullYear();
  
          var m = date.getMonth() + 1;
          m = m < 10 ? '0' + m : m;
  
          var d = date.getDate();
          d = d < 10 ? '0' + d : d;
  
          var day = date.getDay();
  
          day = Math.abs((day + 7 - this.getFirstDayOfWeek()) % 7);
  
          return {
              y: y,
              m: m,
              d: d,
              day: day,
              time: date.getTime(),
              formatedDate: y + '-' + m + '-' + d,
              date: date
          };
      }
docs: get date info
  
  @param  {string|number} date date
  @return {Object}
  {
  y: string, local full year, eg., '1940',
  m: string, local month, from '01' ot '12',
  d: string, local date, from '01' to '31' (if exists),
  day: It is not date.getDay(). It is the location of the cell in a week, from 0 to 6,
  time: timestamp,
  formatedDate: string, yyyy-MM-dd,
  date: original date object.
  }