Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelativeDateFormat.java70 fDateTimeFormat = (SimpleDateFormat)df; in RelativeDateFormat()
74 fDatePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
87 fDateTimeFormat = (SimpleDateFormat)df; in RelativeDateFormat()
91 fTimePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
122 if (fDateTimeFormat != null) { in format()
137 fDateTimeFormat.setContext(DisplayContext.CAPITALIZATION_NONE); in format()
140 fDateTimeFormat.setContext(capitalizationContext); in format()
144 if (fDateTimeFormat != null && (fDatePattern != null || fTimePattern != null)) { in format()
148 fDateTimeFormat.applyPattern(fTimePattern); in format()
149 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelativeDateFormat.java72 fDateTimeFormat = (SimpleDateFormat)df; in RelativeDateFormat()
76 fDatePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
89 fDateTimeFormat = (SimpleDateFormat)df; in RelativeDateFormat()
93 fTimePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
124 if (fDateTimeFormat != null) { in format()
139 fDateTimeFormat.setContext(DisplayContext.CAPITALIZATION_NONE); in format()
142 fDateTimeFormat.setContext(capitalizationContext); in format()
146 if (fDateTimeFormat != null && (fDatePattern != null || fTimePattern != null)) { in format()
150 fDateTimeFormat.applyPattern(fTimePattern); in format()
151 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
[all …]
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp130 fDateTimeFormat(NULL) in DateIntervalFormat()
143 fDateTimeFormat(NULL) { in DateIntervalFormat()
157 delete fDateTimeFormat; in operator =()
189fDateTimeFormat = (itvfmt.fDateTimeFormat)? (UnicodeString*)itvfmt.fDateTimeFormat->clone(): NULL; in operator =()
202 delete fDateTimeFormat; in ~DateIntervalFormat()
232 …if (fDateTimeFormat != fmt->fDateTimeFormat && (fDateTimeFormat == NULL || fmt->fDateTimeFormat ==… in operator ==()
233 …if (fDateTimeFormat && fmt->fDateTimeFormat && (*fDateTimeFormat != *fmt->fDateTimeFormat)) {retur… in operator ==()
441 delete fDateTimeFormat; in setDateIntervalInfo()
442 fDateTimeFormat = NULL; in setDateIntervalInfo()
513 fDateTimeFormat(NULL) in DateIntervalFormat()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java348 private String fDateTimeFormat = null; field in DateIntervalFormat
586 other.fDateTimeFormat = fDateTimeFormat; in clone()
876 … adjustPosition(fDateTimeFormat, fallbackRange, pos, datePortion.toString(), otherPos, pos); in fallbackFormat()
878 fDateTimeFormat, 2, 2, fallbackRange, datePortion); in fallbackFormat()
1144 fDateTimeFormat = getConcatenationPattern(locale); in initializeIntervalPattern()
1255 if (fDateTimeFormat == null) { in initializeIntervalPattern()
1256 fDateTimeFormat = "{1} {0}"; in initializeIntervalPattern()
1259 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1260 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern()
1261 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.MINUTE, intervalPatterns); in initializeIntervalPattern()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java347 private String fDateTimeFormat = null; field in DateIntervalFormat
579 other.fDateTimeFormat = fDateTimeFormat; in clone()
867 … adjustPosition(fDateTimeFormat, fallbackRange, pos, datePortion.toString(), otherPos, pos); in fallbackFormat()
869 fDateTimeFormat, 2, 2, fallbackRange, datePortion); in fallbackFormat()
1131 fDateTimeFormat = getConcatenationPattern(locale); in initializeIntervalPattern()
1242 if (fDateTimeFormat == null) { in initializeIntervalPattern()
1243 fDateTimeFormat = "{1} {0}"; in initializeIntervalPattern()
1246 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1247 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern()
1248 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.MINUTE, intervalPatterns); in initializeIntervalPattern()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h1033 UnicodeString* fDateTimeFormat; variable