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.java73 fDateTimeFormat = (SimpleDateFormat)df; in RelativeDateFormat()
77 fDatePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
90 fDateTimeFormat = (SimpleDateFormat)df; in RelativeDateFormat()
94 fTimePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
125 if (fDateTimeFormat != null) { in format()
140 fDateTimeFormat.setContext(DisplayContext.CAPITALIZATION_NONE); in format()
143 fDateTimeFormat.setContext(capitalizationContext); in format()
147 if (fDateTimeFormat != null && (fDatePattern != null || fTimePattern != null)) { in format()
151 fDateTimeFormat.applyPattern(fTimePattern); in format()
152 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
[all …]
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp133 fDateTimeFormat(NULL) in DateIntervalFormat()
146 fDateTimeFormat(NULL) { in DateIntervalFormat()
160 delete fDateTimeFormat; in operator =()
192fDateTimeFormat = (itvfmt.fDateTimeFormat)? (UnicodeString*)itvfmt.fDateTimeFormat->clone(): NULL; in operator =()
205 delete fDateTimeFormat; in ~DateIntervalFormat()
235 …if (fDateTimeFormat != fmt->fDateTimeFormat && (fDateTimeFormat == NULL || fmt->fDateTimeFormat ==… in operator ==()
236 …if (fDateTimeFormat && fmt->fDateTimeFormat && (*fDateTimeFormat != *fmt->fDateTimeFormat)) {retur… in operator ==()
444 delete fDateTimeFormat; in setDateIntervalInfo()
445 fDateTimeFormat = NULL; in setDateIntervalInfo()
516 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()
879 msgFmt.applyPattern(fDateTimeFormat, MessagePattern.ApostropheMode.DOUBLE_REQUIRED); in fallbackFormat()
1149 fDateTimeFormat = getConcatenationPattern(locale); in initializeIntervalPattern()
1260 if (fDateTimeFormat == null) { in initializeIntervalPattern()
1261 fDateTimeFormat = "{1} {0}"; in initializeIntervalPattern()
1264 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1265 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern()
1266 … 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
580 other.fDateTimeFormat = fDateTimeFormat; in clone()
868 … adjustPosition(fDateTimeFormat, fallbackRange, pos, datePortion.toString(), otherPos, pos); in fallbackFormat()
871 msgFmt.applyPattern(fDateTimeFormat, MessagePattern.ApostropheMode.DOUBLE_REQUIRED); in fallbackFormat()
1137 fDateTimeFormat = getConcatenationPattern(locale); in initializeIntervalPattern()
1248 if (fDateTimeFormat == null) { in initializeIntervalPattern()
1249 fDateTimeFormat = "{1} {0}"; in initializeIntervalPattern()
1252 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.AM_PM, intervalPatterns); in initializeIntervalPattern()
1253 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.HOUR, intervalPatterns); in initializeIntervalPattern()
1254 … concatSingleDate2TimeInterval(fDateTimeFormat, datePattern, Calendar.MINUTE, intervalPatterns); in initializeIntervalPattern()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h1033 UnicodeString* fDateTimeFormat; variable