throw fail(in, field + " requires " + length + " digits"); if (!Character.isDigit(c)) { throw fail(in, field + " has non-digit character " + printCodePointAsString(c)); throw fail(in, field + " should end with " + printCodePointAsString(terminator)); throw fail(in, field + " requires " + length + " digits but has more");
throw fail(in); throw fail(in); throw fail(in); throw fail(in, "year is too short (must be at least yyyyT)"); if (c == 'T') break; if (c != '-') { throw fail(in, "expected \"-\" between year and month, found " + printCodePointAsString(c)); throw fail(in, "month is too short (must be yyyy-mmT)"); if (c == 'T') break; if (c != '-') { throw fail(in, "expected \"-\" between month and day, found " + printCodePointAsString(c)); throw fail(in, "too short for yyyy-mm-dd"); c = in.charAt(END_OF_DAY); if (c != 'T') { throw fail(in, "expected \"T\" after day, found " + printCodePointAsString(c));
throw fail(in, field + " requires " + length + " digits"); if (!Character.isDigit(c)) { throw fail(in, field + " has non-digit character " + printCodePointAsString(c)); throw fail(in, field + " should end with " + printCodePointAsString(terminator)); throw fail(in, field + " requires " + length + " digits but has more");
throw fail(in, field + " requires " + length + " digits"); if (!Character.isDigit(c)) { throw fail(in, field + " has non-digit character " + printCodePointAsString(c)); throw fail(in, field + " should end with " + printCodePointAsString(terminator)); throw fail(in, field + " requires " + length + " digits but has more");
throw fail(in); throw fail(in); throw fail(in); throw fail(in, "year is too short (must be at least yyyyT)"); if (c == 'T') break; if (c != '-') { throw fail(in, "expected \"-\" between year and month, found " + printCodePointAsString(c)); throw fail(in, "month is too short (must be yyyy-mmT)"); if (c == 'T') break; if (c != '-') { throw fail(in, "expected \"-\" between month and day, found " + printCodePointAsString(c)); throw fail(in, "too short for yyyy-mm-dd"); c = in.charAt(END_OF_DAY); if (c != 'T') { throw fail(in, "expected \"T\" after day, found " + printCodePointAsString(c));
throw fail(in); throw fail(in); throw fail(in); throw fail(in, "year is too short (must be at least yyyyT)"); if (c == 'T') break; if (c != '-') { throw fail(in, "expected \"-\" between year and month, found " + printCodePointAsString(c)); throw fail(in, "month is too short (must be yyyy-mmT)"); if (c == 'T') break; if (c != '-') { throw fail(in, "expected \"-\" between month and day, found " + printCodePointAsString(c)); throw fail(in, "too short for yyyy-mm-dd"); c = in.charAt(END_OF_DAY); if (c != 'T') { throw fail(in, "expected \"T\" after day, found " + printCodePointAsString(c));