code: function(character, currentGroup) {
          // Note: currentGroup - position in regex result array (see notes for Ext.Date.parseCodes below)
          var p = utilDate.parseCodes[character];
  
          if (p) {
            p = typeof p == 'function'? p() : p;
            utilDate.parseCodes[character] = p; // reassign function result to prevent repeated execution
          }
  
          return p ? Ext.applyIf({
            c: p.c ? xf(p.c, currentGroup || "{0}") : p.c
          }, p) : {
              g: 0,
              c: null,
              s: Ext.String.escapeRegex(character) // treat unrecognized characters as literals
          };
      }
docs: private