Searched refs:DateFormat (Results 1 - 25 of 131) sorted by relevance

123456

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDateFormat.java4 import android.text.format.DateFormat;
9 @Implements(DateFormat.class)
13 public final static java.text.DateFormat getDateFormat(Context context) {
14 return java.text.DateFormat.getDateInstance();
/external/chromium_org/third_party/icu/source/i18n/
H A Ddatefmt.cpp38 // class DateFormat
43 DateFormat::DateFormat() function in class:DateFormat
51 DateFormat::DateFormat(const DateFormat& other) function in class:DateFormat
61 DateFormat& DateFormat::operator=(const DateFormat& other)
84 DateFormat
[all...]
H A Dwindtfmt.h40 class Win32DateFormat : public DateFormat
43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
77 * Sets the time zone for the calendar of this DateFormat object. The caller
85 * Sets the time zone for the calendar of this DateFormat object.
122 DateFormat::EStyle fTimeStyle;
123 DateFormat::EStyle fDateStyle;
131 return DateFormat::format(date, appendTo);
/external/chromium_org/base/i18n/
H A Dtime_formatting.cc18 string16 TimeFormat(const icu::DateFormat* formatter,
28 string16 TimeFormatWithoutAmPm(const icu::DateFormat* formatter,
33 icu::FieldPosition ampm_field(icu::DateFormat::kAmPmField);
53 scoped_ptr<icu::DateFormat> formatter(
54 icu::DateFormat::createTimeInstance(icu::DateFormat::kShort));
92 scoped_ptr<icu::DateFormat> formatter(
93 icu::DateFormat::createDateInstance(icu::DateFormat::kMedium));
98 scoped_ptr<icu::DateFormat> formatte
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpDate.java19 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];
/external/icu/icu4c/source/i18n/
H A Ddatefmt.cpp39 // class DateFormat
44 DateFormat::DateFormat() function in class:DateFormat
53 DateFormat::DateFormat(const DateFormat& other) function in class:DateFormat
64 DateFormat& DateFormat::operator=(const DateFormat& other)
88 DateFormat
[all...]
H A Dwindtfmt.h40 class Win32DateFormat : public DateFormat
43 Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status);
77 * Sets the time zone for the calendar of this DateFormat object. The caller
85 * Sets the time zone for the calendar of this DateFormat object.
122 DateFormat::EStyle fTimeStyle;
123 DateFormat::EStyle fDateStyle;
131 return DateFormat::format(date, appendTo);
/external/chromium_org/third_party/icu/source/samples/translit/answers/
H A Dmain_1.cpp20 DateFormat *fmt;
21 DateFormat *defFmt;
31 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
35 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
50 check(status, "DateFormat::format");
58 check(status, "DateFormat::format");
H A Dmain_2.cpp20 DateFormat *fmt;
21 DateFormat *defFmt;
32 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
36 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
58 check(status, "DateFormat::format");
66 check(status, "DateFormat::format");
H A Dmain_3.cpp31 DateFormat *fmt;
32 DateFormat *defFmt;
44 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
48 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
77 check(status, "DateFormat::format");
85 check(status, "DateFormat::format");
H A Dmain_4.cpp31 DateFormat *fmt;
32 DateFormat *defFmt;
45 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
49 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
81 check(status, "DateFormat::format");
89 check(status, "DateFormat::format");
/external/icu/icu4c/source/samples/translit/answers/
H A Dmain_1.cpp20 DateFormat *fmt;
21 DateFormat *defFmt;
31 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
35 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
50 check(status, "DateFormat::format");
58 check(status, "DateFormat::format");
H A Dmain_2.cpp20 DateFormat *fmt;
21 DateFormat *defFmt;
32 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
36 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
58 check(status, "DateFormat::format");
66 check(status, "DateFormat::format");
H A Dmain_3.cpp31 DateFormat *fmt;
32 DateFormat *defFmt;
44 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
48 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
77 check(status, "DateFormat::format");
85 check(status, "DateFormat::format");
H A Dmain_4.cpp31 DateFormat *fmt;
32 DateFormat *defFmt;
45 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
49 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
81 check(status, "DateFormat::format");
89 check(status, "DateFormat::format");
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ddtfmtrtts.cpp141 const Locale *avail = DateFormat::getAvailableLocales(locCount);
142 logln("DateFormat available locales: %d", locCount);
192 static const char *styleName(DateFormat::EStyle s)
196 case DateFormat::SHORT: return "SHORT";
197 case DateFormat::MEDIUM: return "MEDIUM";
198 case DateFormat::LONG: return "LONG";
199 case DateFormat::FULL: return "FULL";
200 // case DateFormat::DEFAULT: return "DEFAULT";
201 case DateFormat::DATE_OFFSET: return "DATE_OFFSET";
202 case DateFormat
[all...]
H A Dtsdate.cpp25 * DateFormat.
30 if (exec) logln("TestSuite DateFormat");
35 fFormat = DateFormat::createInstance();
69 DateFormat::EStyle timeStyle, dateStyle;
76 for(timeStyle = (DateFormat::EStyle)0;
77 timeStyle < (DateFormat::EStyle)4;
78 timeStyle = (DateFormat::EStyle) (timeStyle+1))
81 fFormat = DateFormat::createTimeInstance(timeStyle, locale);
87 for(dateStyle = (DateFormat::EStyle)0;
88 dateStyle < (DateFormat
[all...]
H A Dcaltztst.h50 static DateFormat* fgDateFormat;
55 DateFormat* getDateFormat(void);
56 static void releaseDateFormat(DateFormat *f);
H A Ddtfmapts.cpp28 case 0: name = "DateFormat API test";
30 logln("DateFormat API test---"); logln("");
81 DateFormat *df = DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Locale(LOCALES[i]));
83 dataerrln("Error creating DateFormat instances.");
96 DateFormat *a = DateFormat::createInstance();
99 DateFormat *
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ddtfmtrtts.cpp139 const Locale *avail = DateFormat::getAvailableLocales(locCount);
140 logln("DateFormat available locales: %d", locCount);
190 static const char *styleName(DateFormat::EStyle s)
194 case DateFormat::SHORT: return "SHORT";
195 case DateFormat::MEDIUM: return "MEDIUM";
196 case DateFormat::LONG: return "LONG";
197 case DateFormat::FULL: return "FULL";
198 // case DateFormat::DEFAULT: return "DEFAULT";
199 case DateFormat::DATE_OFFSET: return "DATE_OFFSET";
200 case DateFormat
[all...]
H A Dtsdate.cpp25 * DateFormat.
30 if (exec) logln("TestSuite DateFormat");
35 fFormat = DateFormat::createInstance();
69 DateFormat::EStyle timeStyle, dateStyle;
76 for(timeStyle = (DateFormat::EStyle)0;
77 timeStyle < (DateFormat::EStyle)4;
78 timeStyle = (DateFormat::EStyle) (timeStyle+1))
81 fFormat = DateFormat::createTimeInstance(timeStyle, locale);
87 for(dateStyle = (DateFormat::EStyle)0;
88 dateStyle < (DateFormat
[all...]
H A Dcaltztst.h50 static DateFormat* fgDateFormat;
55 DateFormat* getDateFormat(void);
56 static void releaseDateFormat(DateFormat *f);
H A Ddtfmapts.cpp28 case 0: name = "DateFormat API test";
30 logln("DateFormat API test---"); logln("");
81 DateFormat *df = DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Locale(LOCALES[i]));
83 dataerrln("Error creating DateFormat instances.");
96 DateFormat *a = DateFormat::createInstance();
99 DateFormat *
[all...]
/external/chromium_org/third_party/icu/source/samples/translit/
H A Dmain.cpp31 DateFormat *fmt;
32 DateFormat *defFmt;
46 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
50 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
83 check(status, "DateFormat::format");
91 check(status, "DateFormat::format");
/external/icu/icu4c/source/samples/translit/
H A Dmain.cpp31 DateFormat *fmt;
32 DateFormat *defFmt;
46 fmt = DateFormat::createDateInstance(DateFormat::kFull, greece);
50 defFmt = DateFormat::createDateInstance(DateFormat::kFull);
83 check(status, "DateFormat::format");
91 check(status, "DateFormat::format");

Completed in 265 milliseconds

123456