/external/icu/icu4c/source/i18n/ |
D | datefmt.cpp | 44 DateFormat::DateFormat() in DateFormat() function in DateFormat 53 DateFormat::DateFormat(const DateFormat& other) in DateFormat() function in DateFormat 64 DateFormat& DateFormat::operator=(const DateFormat& other) in operator =() 88 DateFormat::~DateFormat() in ~DateFormat() 97 DateFormat::operator==(const Format& other) const in operator ==() 104 DateFormat* fmt = (DateFormat*)&other; in operator ==() 116 DateFormat::format(const Formattable& obj, in format() 151 DateFormat::format(const Formattable& obj, in format() 187 DateFormat::format(Calendar& /* unused cal */, in format() 200 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPosition& fieldPosition) const { in format() [all …]
|
D | windtfmt.cpp | 77 int32_t glueIndex = DateFormat::kDateTime; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 79 if (patSize >= (DateFormat::kDateTimeOffset + DateFormat::kShort + 1)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 81 glueIndex = (int32_t)(DateFormat::kDateTimeOffset + (fDateStyle - DateFormat::kDateOffset)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const … in Win32DateFormat() 97 …: DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(locale),… in Win32DateFormat() 108 : DateFormat(other) in Win32DateFormat() 123 DateFormat::operator=(other); in operator =() 169 if (fDateStyle != DateFormat::kNone && fTimeStyle != DateFormat::kNone) { in format() 186 } else if (fDateStyle != DateFormat::kNone) { in format() 188 } else if (fTimeStyle != DateFormat::kNone) { in format() [all …]
|
D | windtfmt.h | 40 class Win32DateFormat : public DateFormat 43 …Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, … 122 DateFormat::EStyle fTimeStyle; 123 DateFormat::EStyle fDateStyle; 131 return DateFormat::format(date, appendTo); in format()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | datefmt.cpp | 43 DateFormat::DateFormat() in DateFormat() function in DateFormat 51 DateFormat::DateFormat(const DateFormat& other) in DateFormat() function in DateFormat 61 DateFormat& DateFormat::operator=(const DateFormat& other) in operator =() 84 DateFormat::~DateFormat() in ~DateFormat() 93 DateFormat::operator==(const Format& other) const in operator ==() 100 DateFormat* fmt = (DateFormat*)&other; in operator ==() 111 DateFormat::format(const Formattable& obj, in format() 146 DateFormat::format(const Formattable& obj, in format() 182 DateFormat::format(Calendar& /* unused cal */, in format() 195 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPosition& fieldPosition) const { in format() [all …]
|
D | windtfmt.cpp | 77 int32_t glueIndex = DateFormat::kDateTime; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 79 if (patSize >= (DateFormat::kDateTimeOffset + DateFormat::kShort + 1)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 81 glueIndex = (int32_t)(DateFormat::kDateTimeOffset + (fDateStyle - DateFormat::kDateOffset)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 96 Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const … in Win32DateFormat() 97 …: DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(locale),… in Win32DateFormat() 108 : DateFormat(other) in Win32DateFormat() 123 DateFormat::operator=(other); in operator =() 169 if (fDateStyle != DateFormat::kNone && fTimeStyle != DateFormat::kNone) { in format() 186 } else if (fDateStyle != DateFormat::kNone) { in format() 188 } else if (fTimeStyle != DateFormat::kNone) { in format() [all …]
|
/external/chromium_org/base/i18n/ |
D | time_formatting.cc | 18 string16 TimeFormat(const icu::DateFormat* formatter, in TimeFormat() 28 string16 TimeFormatWithoutAmPm(const icu::DateFormat* formatter, in TimeFormatWithoutAmPm() 33 icu::FieldPosition ampm_field(icu::DateFormat::kAmPmField); in TimeFormatWithoutAmPm() 53 scoped_ptr<icu::DateFormat> formatter( in TimeFormatTimeOfDay() 54 icu::DateFormat::createTimeInstance(icu::DateFormat::kShort)); in TimeFormatTimeOfDay() 92 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDate() 93 icu::DateFormat::createDateInstance(icu::DateFormat::kMedium)); in TimeFormatShortDate() 98 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDateNumeric() 99 icu::DateFormat::createDateInstance(icu::DateFormat::kShort)); in TimeFormatShortDateNumeric() 104 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDateAndTime() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmtrtts.cpp | 139 const Locale *avail = DateFormat::getAvailableLocales(locCount); in TestDateFormatRoundTrip() 190 static const char *styleName(DateFormat::EStyle s) in styleName() 194 case DateFormat::SHORT: return "SHORT"; in styleName() 195 case DateFormat::MEDIUM: return "MEDIUM"; in styleName() 196 case DateFormat::LONG: return "LONG"; in styleName() 197 case DateFormat::FULL: return "FULL"; in styleName() 199 case DateFormat::DATE_OFFSET: return "DATE_OFFSET"; in styleName() 200 case DateFormat::NONE: return "NONE"; in styleName() 201 case DateFormat::DATE_TIME: return "DATE_TIME"; in styleName() 234 for(style = DateFormat::FULL; style <= DateFormat::SHORT; ++style) { in test() [all …]
|
D | tsdate.cpp | 35 fFormat = DateFormat::createInstance(); in runIndexedTest() 69 DateFormat::EStyle timeStyle, dateStyle; in testLocale() 76 for(timeStyle = (DateFormat::EStyle)0; in testLocale() 77 timeStyle < (DateFormat::EStyle)4; in testLocale() 78 timeStyle = (DateFormat::EStyle) (timeStyle+1)) in testLocale() 81 fFormat = DateFormat::createTimeInstance(timeStyle, locale); in testLocale() 87 for(dateStyle = (DateFormat::EStyle)0; in testLocale() 88 dateStyle < (DateFormat::EStyle)4; in testLocale() 89 dateStyle = (DateFormat::EStyle) (dateStyle+1)) in testLocale() 92 fFormat = DateFormat::createDateInstance(dateStyle, locale); in testLocale() [all …]
|
D | dtfmapts.cpp | 81 …DateFormat *df = DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Loca… in TestCoverage() 96 DateFormat *a = DateFormat::createInstance(); in TestEquals() 99 DateFormat *b = DateFormat::createInstance(); in TestEquals() 137 DateFormat *def = DateFormat::createInstance(); in testAPI() 138 DateFormat *fr = DateFormat::createTimeInstance(DateFormat::FULL, Locale::getFrench()); in testAPI() 139 DateFormat *it = DateFormat::createDateInstance(DateFormat::MEDIUM, Locale::getItalian()); in testAPI() 140 …DateFormat *de = DateFormat::createDateTimeInstance(DateFormat::LONG, DateFormat::LONG, Locale::ge… in testAPI() 214 const Locale *locales = DateFormat::getAvailableLocales(count); in testAPI() 256 DateFormat *test = new SimpleDateFormat(status); in testAPI() 294 DateFormat *dateFmt = DateFormat::createInstance(); in TestNameHiding()
|
D | dtfmttst.cpp | 334 DateFormat* fmtA = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::FULL); in TestEquals() 335 DateFormat* fmtB = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::FULL); in TestEquals() 380 logln(*s + " P> " + ((DateFormat*)fullFmt)->format(d, str)); in TestTwoDigitYearDSTParse() 497 DateFormat* dateFormats[COUNT]; in TestFieldPosition() 498 …dateFormats[0] = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, Locale::… in TestFieldPosition() 499 …dateFormats[1] = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, Locale::… in TestFieldPosition() 548 DateFormat* df = dateFormats[j]; in TestFieldPosition() 666 ((DateFormat*)format)->format(date, f); in tryPat994() 704 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985() 709 else ((DateFormat*)formatter)->format(date2, then); in TestRunTogetherPattern985() [all …]
|
D | windttst.cpp | 146 …DateFormat *wbf = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, wlocale… in testLocales() 147 DateFormat *wdf = DateFormat::createDateInstance(DateFormat::kFull, wlocale); in testLocales() 148 DateFormat *wtf = DateFormat::createTimeInstance(DateFormat::kFull, wlocale); in testLocales()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | dtfmtrtts.cpp | 141 const Locale *avail = DateFormat::getAvailableLocales(locCount); in TestDateFormatRoundTrip() 192 static const char *styleName(DateFormat::EStyle s) in styleName() 196 case DateFormat::SHORT: return "SHORT"; in styleName() 197 case DateFormat::MEDIUM: return "MEDIUM"; in styleName() 198 case DateFormat::LONG: return "LONG"; in styleName() 199 case DateFormat::FULL: return "FULL"; in styleName() 201 case DateFormat::DATE_OFFSET: return "DATE_OFFSET"; in styleName() 202 case DateFormat::NONE: return "NONE"; in styleName() 203 case DateFormat::DATE_TIME: return "DATE_TIME"; in styleName() 236 for(style = DateFormat::FULL; style <= DateFormat::SHORT; ++style) { in test() [all …]
|
D | tsdate.cpp | 35 fFormat = DateFormat::createInstance(); in runIndexedTest() 69 DateFormat::EStyle timeStyle, dateStyle; in testLocale() 76 for(timeStyle = (DateFormat::EStyle)0; in testLocale() 77 timeStyle < (DateFormat::EStyle)4; in testLocale() 78 timeStyle = (DateFormat::EStyle) (timeStyle+1)) in testLocale() 81 fFormat = DateFormat::createTimeInstance(timeStyle, locale); in testLocale() 87 for(dateStyle = (DateFormat::EStyle)0; in testLocale() 88 dateStyle < (DateFormat::EStyle)4; in testLocale() 89 dateStyle = (DateFormat::EStyle) (dateStyle+1)) in testLocale() 92 fFormat = DateFormat::createDateInstance(dateStyle, locale); in testLocale() [all …]
|
D | dtfmapts.cpp | 81 …DateFormat *df = DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Loca… in TestCoverage() 96 DateFormat *a = DateFormat::createInstance(); in TestEquals() 99 DateFormat *b = DateFormat::createInstance(); in TestEquals() 137 DateFormat *def = DateFormat::createInstance(); in testAPI() 138 DateFormat *fr = DateFormat::createTimeInstance(DateFormat::FULL, Locale::getFrench()); in testAPI() 139 DateFormat *it = DateFormat::createDateInstance(DateFormat::MEDIUM, Locale::getItalian()); in testAPI() 140 …DateFormat *de = DateFormat::createDateTimeInstance(DateFormat::LONG, DateFormat::LONG, Locale::ge… in testAPI() 214 const Locale *locales = DateFormat::getAvailableLocales(count); in testAPI() 256 DateFormat *test = new SimpleDateFormat(status); in testAPI() 294 DateFormat *dateFmt = DateFormat::createInstance(); in TestNameHiding()
|
D | dtfmttst.cpp | 332 DateFormat* fmtA = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::FULL); in TestEquals() 333 DateFormat* fmtB = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::FULL); in TestEquals() 378 logln(*s + " P> " + ((DateFormat*)fullFmt)->format(d, str)); in TestTwoDigitYearDSTParse() 494 DateFormat* dateFormats[COUNT]; in TestFieldPosition() 495 …dateFormats[0] = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, Locale::… in TestFieldPosition() 496 …dateFormats[1] = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, Locale::… in TestFieldPosition() 545 DateFormat* df = dateFormats[j]; in TestFieldPosition() 663 ((DateFormat*)format)->format(date, f); in tryPat994() 701 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985() 706 else ((DateFormat*)formatter)->format(date2, then); in TestRunTogetherPattern985() [all …]
|
D | windttst.cpp | 146 …DateFormat *wbf = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, wlocale… in testLocales() 147 DateFormat *wdf = DateFormat::createDateInstance(DateFormat::kFull, wlocale); in testLocales() 148 DateFormat *wtf = DateFormat::createTimeInstance(DateFormat::kFull, wlocale); in testLocales()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpDate.java | 19 import java.text.DateFormat; 35 private static final ThreadLocal<DateFormat> STANDARD_DATE_FORMAT = 36 new ThreadLocal<DateFormat>() { 37 @Override protected DateFormat initialValue() { 38 DateFormat rfc1123 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US); 64 private static final DateFormat[] BROWSER_COMPATIBLE_DATE_FORMATS = 65 new DateFormat[BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.length]; 75 DateFormat format = BROWSER_COMPATIBLE_DATE_FORMATS[i]; in parse()
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
D | datefmt.h | 146 class U_I18N_API DateFormat : public Format { 214 virtual ~DateFormat(); 517 static DateFormat* U_EXPORT2 createInstance(void); 530 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault, 548 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault, 569 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault, 687 virtual DateFormat& U_EXPORT2 setBooleanAttribute(UDateFormatBooleanAttribute attr, 709 DateFormat(); 715 DateFormat(const DateFormat&); 721 DateFormat& operator=(const DateFormat&); [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | datefmt.h | 147 class U_I18N_API DateFormat : public Format { 215 virtual ~DateFormat(); 518 static DateFormat* U_EXPORT2 createInstance(void); 531 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault, 549 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault, 570 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault, 747 virtual DateFormat& U_EXPORT2 setBooleanAttribute(UDateFormatBooleanAttribute attr, 770 DateFormat(); 776 DateFormat(const DateFormat&); 782 DateFormat& operator=(const DateFormat&); [all …]
|
/external/chromium_org/third_party/icu/source/samples/translit/answers/ |
D | main_1.cpp | 20 DateFormat *fmt; in main() 21 DateFormat *defFmt; in main() 31 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); in main() 35 defFmt = DateFormat::createDateInstance(DateFormat::kFull); in main()
|
D | main_2.cpp | 20 DateFormat *fmt; in main() 21 DateFormat *defFmt; in main() 32 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); in main() 36 defFmt = DateFormat::createDateInstance(DateFormat::kFull); in main()
|
D | main_3.cpp | 31 DateFormat *fmt; in main() 32 DateFormat *defFmt; in main() 44 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); in main() 48 defFmt = DateFormat::createDateInstance(DateFormat::kFull); in main()
|
/external/icu/icu4c/source/samples/translit/answers/ |
D | main_1.cpp | 20 DateFormat *fmt; in main() 21 DateFormat *defFmt; in main() 31 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); in main() 35 defFmt = DateFormat::createDateInstance(DateFormat::kFull); in main()
|
D | main_2.cpp | 20 DateFormat *fmt; in main() 21 DateFormat *defFmt; in main() 32 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); in main() 36 defFmt = DateFormat::createDateInstance(DateFormat::kFull); in main()
|
D | main_3.cpp | 31 DateFormat *fmt; in main() 32 DateFormat *defFmt; in main() 44 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece); in main() 48 defFmt = DateFormat::createDateInstance(DateFormat::kFull); in main()
|