Home | History | Annotate | Download | only in phonenumbers

Lines Matching defs:fromIndex

453         int fromIndex = 0;
457 // Fails if the substring of {@code candidate} starting from {@code fromIndex} doesn't
459 fromIndex = normalizedCandidate.indexOf(formattedNumberGroups[i], fromIndex);
460 if (fromIndex < 0) {
463 // Moves {@code fromIndex} forward.
464 fromIndex += formattedNumberGroups[i].length();
465 if (i == 0 && fromIndex < normalizedCandidate.length()) {
467 if (Character.isDigit(normalizedCandidate.charAt(fromIndex))) {
472 return normalizedCandidate.substring(fromIndex - formattedNumberGroups[i].length())
480 return normalizedCandidate.substring(fromIndex).contains(number.getExtension());