Home
last modified time | relevance | path

Searched refs:lengthSubstring (Results 1 – 1 of 1) sorted by relevance

/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java543 String lengthSubstring = lengths[i]; in parsePossibleLengthStringToSet() local
544 if (lengthSubstring.length() == 0) { in parsePossibleLengthStringToSet()
548 } else if (lengthSubstring.charAt(0) == '[') { in parsePossibleLengthStringToSet()
549 if (lengthSubstring.charAt(lengthSubstring.length() - 1) != ']') { in parsePossibleLengthStringToSet()
554 String[] minMax = lengthSubstring.substring(1, lengthSubstring.length() - 1).split("-"); in parsePossibleLengthStringToSet()
575 int length = Integer.parseInt(lengthSubstring); in parsePossibleLengthStringToSet()