Searched refs:relativeDayString (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | RelativeDateFormat.java | 110 String relativeDayString = null; in format() local 118 relativeDayString = getStringForDay(dayDiff); in format() 122 if (relativeDayString != null && fDatePattern != null && in format() 125 … if ( relativeDayString.length() > 0 && UCharacter.isLowerCase(relativeDayString.codePointAt(0)) && in format() 133 … relativeDayString = UCharacter.toTitleCase(fLocale, relativeDayString, capitalizationBrkIter, in format() 151 if (relativeDayString != null) { in format() 152 toAppendTo.append(relativeDayString); in format() 159 if (relativeDayString != null) { in format() 161 datePattern = "'" + relativeDayString.replace("'", "''") + "'"; in format() 171 if (relativeDayString != null) { in format() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | RelativeDateFormat.java | 112 String relativeDayString = null; in format() local 120 relativeDayString = getStringForDay(dayDiff); in format() 124 if (relativeDayString != null && fDatePattern != null && in format() 127 … if ( relativeDayString.length() > 0 && UCharacter.isLowerCase(relativeDayString.codePointAt(0)) && in format() 135 … relativeDayString = UCharacter.toTitleCase(fLocale, relativeDayString, capitalizationBrkIter, in format() 153 if (relativeDayString != null) { in format() 154 toAppendTo.append(relativeDayString); in format() 161 if (relativeDayString != null) { in format() 163 datePattern = "'" + relativeDayString.replace("'", "''") + "'"; in format() 173 if (relativeDayString != null) { in format() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | reldtfmt.cpp | 160 UnicodeString relativeDayString; in format() local 171 relativeDayString.setTo(theString, len); in format() 174 if ( relativeDayString.length() > 0 && !fDatePattern.isEmpty() && in format() 178 if ( u_islower(relativeDayString.char32At(0)) && fCapitalizationBrkIter!= NULL && in format() 183 …relativeDayString.toTitle(fCapitalizationBrkIter, fLocale, U_TITLECASE_NO_LOWERCASE | U_TITLECASE_… in format() 196 if (relativeDayString.length() > 0) { in format() 197 appendTo.append(relativeDayString); in format() 204 if (relativeDayString.length() > 0) { in format() 206 …relativeDayString.findAndReplace(UNICODE_STRING("'", 1), UNICODE_STRING("''", 2)); // double any e… in format() 207 relativeDayString.insert(0, APOSTROPHE); // add APOSTROPHE at beginning... in format() [all …]
|