code: function (record) {
          // remove calls to Ext.Date.clearTime
          var me = this,
              key,
              pickerValue,
              val = record.get(me.dataIndex);
  
          if(!Ext.isDate(val)){
              return false;
          }
  
          val = val.getTime();
  
          for (key in me.fields) {
              if (me.fields[key].checked) {
                  pickerValue = me.getFieldValue(key).getTime();
                  if (key == 'before' && pickerValue <= val) {
                      return false;
                  }
                  if (key == 'after' && pickerValue >= val) {
                      return false;
                  }
                  if (key == 'on' && pickerValue != val) {
                      return false;
                  }
              }
          }
          return true;
      }
docs: Template method that is to validate the provided Ext.data.Record
  against the filters configuration.
  @param {Ext.data.Record} record The record to validate
  @return {Boolean} true if the record is valid within the bounds
  of the filter, false otherwise.