TestReducedParser.java | 97 private static final boolean LENIENT = false; 138 // Parse data and values that are consistent whether strict or lenient 214 // Parse data and values in strict and lenient modes. 216 // Strict Pair(endPos, value), Lenient Pair(endPos, value) 222 {YEAR, 2, 2, 2010, "3", 0, strict(0, null), lenient(1, 3)}, 223 {YEAR, 2, 2, 2010, "4", 0, strict(0, null), lenient(1, 4)}, 224 {YEAR, 2, 2, 2010, "5", 1, strict(1, null), lenient(1, null)}, 225 {YEAR, 2, 2, 2010, "6-2", 0, strict(0, null), lenient(1, 6)}, 226 {YEAR, 2, 2, 2010, "9", 0, strict(0, null), lenient(1, 9)}, 229 {YEAR, 1, 4, 2000, "7A", 0, strict(1, 2007), lenient(1, 2007)} 501 private static Pair lenient(int parseLen, Integer parseVal) { method in class:TestReducedParser [all...] |