docs: function (date, type, rule) {
          var offset = 0;
  
          if (type === 'u' || type === 'g' || type === 'z') { // UTC
            offset = 0;
          } else if (type === 's') { // Standard Time
            offset = basicOffset;
          } else if (type === 'w' || !type) { // Wall Clock Time
            offset = getAdjustedOffset(basicOffset, rule);
          } else {
            throw("unknown type " + type);
          }
          offset *= 60 * 1000; // to millis
  
          return new Date(date.getTime() + offset);
        }