rem: }; 
add: } 
context: qx.Proto._initParseRules = function() {  var DateFormat = qx.util.format.DateFormat;  if (DateFormat._parseRules != null) {    // The parse rules are already initialized    return;  }  DateFormat._parseRules = [];  var yearManipulator = function(dateValues, value) {    value = parseInt(value, 10);    if (value < DateFormat.ASSUME_YEAR_2000_THRESHOLD) {      value += 2000;    } else if (value < 100) {      value += 1900;    }    dateValues.year = value;  };  var monthManipulator = function(dateValues, value) {    dateValues.month = parseInt(value, 10) - 1;  }  var ampmManipulator = function(dateValues, value) {    dateValues.ispm = (value == DateFormat.PM_MARKER);  }  var noZeroHourManipulator = function(dateValues, value) {    dateValues.hour = parseInt(value, 10) % 24;  }  var noZeroAmPmHourManipulator = function(dateValues, value) {    dateValues.hour = parseInt(value, 10) % 12;  }  // Unsupported: w (Week in year), W (Week in month), D (Day in year),  // F (Day of week in month), z (time zone) reason: no setter in Date class,  // Z (RFC 822 time zone) reason: no setter in Date class  DateFormat._parseRules.push({ pattern:"yyyy", regex:"(\\d\\d(\\d\\d)?)",    groups:2, manipulator:yearManipulator } );  DateFormat._parseRules.push({ pattern:"yy",   regex:"(\\d\\d)",  manipulator:yearManipulator } );  // TODO: "MMMM", "MMM" (Month names)  DateFormat._parseRules.push({ pattern:"MM",   regex:"(\\d\\d?)", manipulator:monthManipulator });  DateFormat._parseRules.push({ pattern:"dd",   regex:"(\\d\\d?)", field:"day" });  DateFormat._parseRules.push({ pattern:"d",    regex:"(\\d\\d?)", field:"day" });  // TODO: "EEEE", "EEE", "EE" (Day in week names)  DateFormat._parseRules.push({ pattern:"a",    regex:"(" + DateFormat.AM_MARKER + "|" + DateFormat.PM_MARKER + ")",    manipulator:ampmManipulator });  DateFormat._parseRules.push({ pattern:"HH",   regex:"(\\d\\d?)", field:"hour" });  DateFormat._parseRules.push({ pattern:"H",    regex:"(\\d\\d?)", field:"hour" });  DateFormat._parseRules.push({ pattern:"kk",   regex:"(\\d\\d?)", manipulator:noZeroHourManipulator });  DateFormat._parseRules.push({ pattern:"k",    regex:"(\\d\\d?)", manipulator:noZeroHourManipulator });  DateFormat._parseRules.push({ pattern:"KK",   regex:"(\\d\\d?)", field:"hour" });  DateFormat._parseRules.push({ pattern:"K",    regex:"(\\d\\d?)", field:"hour" });  DateFormat._parseRules.push({ pattern:"hh",   regex:"(\\d\\d?)", manipulator:noZeroAmPmHourManipulator });  DateFormat._parseRules.push({ pattern:"h",    regex:"(\\d\\d?)", manipulator:noZeroAmPmHourManipulator });  DateFormat._parseRules.push({ pattern:"mm",   regex:"(\\d\\d?)", field:"min" });  DateFormat._parseRules.push({ pattern:"m",    regex:"(\\d\\d?)", field:"min" });  DateFormat._parseRules.push({ pattern:"ss",   regex:"(\\d\\d?)", field:"sec" });  DateFormat._parseRules.push({ pattern:"s",    regex:"(\\d\\d?)", field:"sec" });  DateFormat._parseRules.push({ pattern:"SSS",  regex:"(\\d\\d?\\d?)", field:"ms" });  DateFormat._parseRules.push({ pattern:"SS",   regex:"(\\d\\d?\\d?)", field:"ms" });  DateFormat._parseRules.push({ pattern:"S",    regex:"(\\d\\d?\\d?)", field:"ms" });};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/DateFormat.js/buggy/qooxdoo/source/script/qx/util/format/DateFormat.js