Searched refs:bestDateTimePattern (Results 1 – 2 of 2) sorted by relevance
229 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in getHourFormatData() local231 final int lengthPattern = bestDateTimePattern.length(); in getHourFormatData()237 final char c = bestDateTimePattern.charAt(i); in getHourFormatData()240 if (i + 1 < lengthPattern && c == bestDateTimePattern.charAt(i + 1)) { in getHourFormatData()249 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in isAmPmAtStart() local252 return bestDateTimePattern.startsWith("a"); in isAmPmAtStart()265 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale, in setDividerText() local268 int hourIndex = bestDateTimePattern.lastIndexOf('H'); in setDividerText()270 hourIndex = bestDateTimePattern.lastIndexOf('h'); in setDividerText()276 int minuteIndex = bestDateTimePattern.indexOf('m', hourIndex + 1); in setDividerText()[all …]
309 final String bestDateTimePattern = DateFormat.getBestDateTimePattern( in updateHourFormat() local311 final int lengthPattern = bestDateTimePattern.length(); in updateHourFormat()316 final char c = bestDateTimePattern.charAt(i); in updateHourFormat()319 if (i + 1 < lengthPattern && c == bestDateTimePattern.charAt(i + 1)) { in updateHourFormat()811 final String bestDateTimePattern = DateFormat.getBestDateTimePattern(mLocale,813 final String separatorText = getHourMinSeparatorFromPattern(bestDateTimePattern);