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 | 111 String relativeDayString = null; in format() local 119 relativeDayString = getStringForDay(dayDiff); in format() 123 if (relativeDayString != null && fDatePattern != null && in format() 126 … if ( relativeDayString.length() > 0 && UCharacter.isLowerCase(relativeDayString.codePointAt(0)) && in format() 134 … relativeDayString = UCharacter.toTitleCase(fLocale, relativeDayString, capitalizationBrkIter, in format() 152 if (relativeDayString != null) { in format() 153 toAppendTo.append(relativeDayString); in format() 160 if (relativeDayString != null) { in format() 162 datePattern = "'" + relativeDayString.replace("'", "''") + "'"; in format() 172 if (relativeDayString != null) { in format() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | RelativeDateFormat.java | 114 String relativeDayString = null; in format() local 122 relativeDayString = getStringForDay(dayDiff); in format() 126 if (relativeDayString != null && fDatePattern != null && in format() 129 … if ( relativeDayString.length() > 0 && UCharacter.isLowerCase(relativeDayString.codePointAt(0)) && in format() 137 … relativeDayString = UCharacter.toTitleCase(fLocale, relativeDayString, capitalizationBrkIter, in format() 155 if (relativeDayString != null) { in format() 156 toAppendTo.append(relativeDayString); in format() 163 if (relativeDayString != null) { in format() 165 datePattern = "'" + relativeDayString.replace("'", "''") + "'"; in format() 175 if (relativeDayString != null) { in format() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | reldtfmt.cpp | 159 UnicodeString relativeDayString; in format() local 170 relativeDayString.setTo(theString, len); in format() 173 if ( relativeDayString.length() > 0 && !fDatePattern.isEmpty() && in format() 177 if ( u_islower(relativeDayString.char32At(0)) && fCapitalizationBrkIter!= NULL && in format() 182 …relativeDayString.toTitle(fCapitalizationBrkIter, fLocale, U_TITLECASE_NO_LOWERCASE | U_TITLECASE_… in format() 195 if (relativeDayString.length() > 0) { in format() 196 appendTo.append(relativeDayString); in format() 203 if (relativeDayString.length() > 0) { in format() 205 …relativeDayString.findAndReplace(UNICODE_STRING("'", 1), UNICODE_STRING("''", 2)); // double any e… in format() 206 relativeDayString.insert(0, APOSTROPHE); // add APOSTROPHE at beginning... in format() [all …]
|