Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/text/
DSimpleDateFormat.java1147 int optionLength = option.length(); in parseText() local
1148 if (optionLength == 0) { in parseText()
1151 if (string.regionMatches(true, offset, option, 0, optionLength)) { in parseText()
1152 if (bestIndex == -1 || optionLength > bestLength) { in parseText()
1154 bestLength = optionLength; in parseText()
1156 } else if (option.charAt(optionLength - 1) == '.') { in parseText()
1159 if (string.regionMatches(true, offset, option, 0, optionLength - 1)) { in parseText()
1160 if (bestIndex == -1 || optionLength - 1 > bestLength) { in parseText()
1162 bestLength = optionLength - 1; in parseText()