Home
last modified time | relevance | path

Searched refs:DateFormat (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddatefmt.cpp125 DateFormat::DateFormat() in DateFormat() function in DateFormat
134 DateFormat::DateFormat(const DateFormat& other) in DateFormat() function in DateFormat
145 DateFormat& DateFormat::operator=(const DateFormat& other) in operator =()
169 DateFormat::~DateFormat() in ~DateFormat()
178 DateFormat::operator==(const Format& other) const in operator ==()
185 DateFormat* fmt = (DateFormat*)&other; in operator ==()
197 DateFormat::format(const Formattable& obj, in format()
232 DateFormat::format(const Formattable& obj, in format()
268 DateFormat::format(Calendar& /* unused cal */, in format()
281 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPosition& fieldPosition) const { in format()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Ddatefmt.cpp125 DateFormat::DateFormat() in DateFormat() function in DateFormat
134 DateFormat::DateFormat(const DateFormat& other) in DateFormat() function in DateFormat
145 DateFormat& DateFormat::operator=(const DateFormat& other) in operator =()
169 DateFormat::~DateFormat() in ~DateFormat()
178 DateFormat::operator==(const Format& other) const in operator ==()
185 DateFormat* fmt = (DateFormat*)&other; in operator ==()
197 DateFormat::format(const Formattable& obj, in format()
232 DateFormat::format(const Formattable& obj, in format()
268 DateFormat::format(Calendar& /* unused cal */, in format()
281 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPosition& fieldPosition) const { in format()
[all …]
/third_party/icu/icu4c/source/i18n/
Ddatefmt.cpp125 DateFormat::DateFormat() in DateFormat() function in DateFormat
134 DateFormat::DateFormat(const DateFormat& other) in DateFormat() function in DateFormat
145 DateFormat& DateFormat::operator=(const DateFormat& other) in operator =()
169 DateFormat::~DateFormat() in ~DateFormat()
178 DateFormat::operator==(const Format& other) const in operator ==()
185 DateFormat* fmt = (DateFormat*)&other; in operator ==()
197 DateFormat::format(const Formattable& obj, in format()
232 DateFormat::format(const Formattable& obj, in format()
268 DateFormat::format(Calendar& /* unused cal */, in format()
281 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPosition& fieldPosition) const { in format()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Ddatefmt.cpp123 DateFormat::DateFormat() in DateFormat() function in DateFormat
132 DateFormat::DateFormat(const DateFormat& other) in DateFormat() function in DateFormat
143 DateFormat& DateFormat::operator=(const DateFormat& other) in operator =()
167 DateFormat::~DateFormat() in ~DateFormat()
176 DateFormat::operator==(const Format& other) const in operator ==()
183 DateFormat* fmt = (DateFormat*)&other; in operator ==()
195 DateFormat::format(const Formattable& obj, in format()
230 DateFormat::format(const Formattable& obj, in format()
266 DateFormat::format(Calendar& /* unused cal */, in format()
279 DateFormat::format(UDate date, UnicodeString& appendTo, FieldPosition& fieldPosition) const { in format()
[all …]
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatTest.java11 import java.text.DateFormat;
32 for (Locale loc : DateFormat.getAvailableLocales()) { in TestGetInstance()
37 checkGetInstance(DateFormat.FULL, DateFormat.LONG, loc); in TestGetInstance()
38 checkGetInstance(DateFormat.MEDIUM, -1, loc); in TestGetInstance()
39 checkGetInstance(1, DateFormat.SHORT, loc); in TestGetInstance()
45 DateFormat df = getJDKInstance(dstyle, tstyle, loc, method); in checkGetInstance()
58 DateFormat dfIcu = getJDKInstance(dstyle, tstyle, iculoc, null); in checkGetInstance()
72 private DateFormat getJDKInstance(int dstyle, int tstyle, Locale loc, String[] methodName) { in getJDKInstance()
73 DateFormat df; in getJDKInstance()
76 df = DateFormat.getTimeInstance(tstyle, loc); in getJDKInstance()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java49 import com.ibm.icu.text.DateFormat;
50 import com.ibm.icu.text.DateFormat.BooleanAttribute;
79 {DateFormat.YEAR, "y","en","y"}, in TestPatterns()
81 {DateFormat.QUARTER, "QQQQ", "en", "QQQQ"}, in TestPatterns()
82 {DateFormat.ABBR_QUARTER, "QQQ", "en", "QQQ"}, in TestPatterns()
83 {DateFormat.YEAR_QUARTER, "yQQQQ", "en", "QQQQ y"}, in TestPatterns()
84 {DateFormat.YEAR_ABBR_QUARTER, "yQQQ", "en", "QQQ y"}, in TestPatterns()
86 {DateFormat.MONTH, "MMMM", "en", "LLLL"}, in TestPatterns()
87 {DateFormat.ABBR_MONTH, "MMM", "en", "LLL"}, in TestPatterns()
88 {DateFormat.NUM_MONTH, "M", "en", "L"}, in TestPatterns()
[all …]
DDateFormatRoundTripTest.java28 import com.ibm.icu.text.DateFormat;
55 final Locale[] avail = DateFormat.getAvailableLocales(); in TestDateFormatRoundTrip()
83 case DateFormat.SHORT : in styleName()
85 case DateFormat.MEDIUM : in styleName()
87 case DateFormat.LONG : in styleName()
89 case DateFormat.FULL : in styleName()
120 for (style = DateFormat.FULL; style <= DateFormat.SHORT; ++style) { in _test()
123 DateFormat df = DateFormat.getDateInstance(style, loc); in _test()
128 for (style = DateFormat.FULL; style <= DateFormat.SHORT; ++style) { in _test()
131 DateFormat df = DateFormat.getTimeInstance(style, loc); in _test()
[all …]
DIntlTestDateFormatAPI.java32 import com.ibm.icu.text.DateFormat;
45 DateFormat a = DateFormat.getInstance(); in TestEquals()
53 DateFormat b = DateFormat.getInstance(); in TestEquals()
85 DateFormat def = DateFormat.getInstance(); in TestAPI()
86 DateFormat fr = DateFormat.getTimeInstance(DateFormat.FULL, Locale.FRENCH); in TestAPI()
87 DateFormat it = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.ITALIAN); in TestAPI()
88DateFormat de = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, Locale.GERMAN); in TestAPI()
155 final Locale[] locales = DateFormat.getAvailableLocales(); in TestAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatTest.java50 import ohos.global.icu.text.DateFormat;
51 import ohos.global.icu.text.DateFormat.BooleanAttribute;
82 {DateFormat.YEAR, "y","en","y"}, in TestPatterns()
84 {DateFormat.QUARTER, "QQQQ", "en", "QQQQ"}, in TestPatterns()
85 {DateFormat.ABBR_QUARTER, "QQQ", "en", "QQQ"}, in TestPatterns()
86 {DateFormat.YEAR_QUARTER, "yQQQQ", "en", "QQQQ y"}, in TestPatterns()
87 {DateFormat.YEAR_ABBR_QUARTER, "yQQQ", "en", "QQQ y"}, in TestPatterns()
89 {DateFormat.MONTH, "MMMM", "en", "LLLL"}, in TestPatterns()
90 {DateFormat.ABBR_MONTH, "MMM", "en", "LLL"}, in TestPatterns()
91 {DateFormat.NUM_MONTH, "M", "en", "L"}, in TestPatterns()
[all …]
DDateFormatRoundTripTest.java29 import ohos.global.icu.text.DateFormat;
58 final Locale[] avail = DateFormat.getAvailableLocales(); in TestDateFormatRoundTrip()
86 case DateFormat.SHORT : in styleName()
88 case DateFormat.MEDIUM : in styleName()
90 case DateFormat.LONG : in styleName()
92 case DateFormat.FULL : in styleName()
123 for (style = DateFormat.FULL; style <= DateFormat.SHORT; ++style) { in _test()
126 DateFormat df = DateFormat.getDateInstance(style, loc); in _test()
131 for (style = DateFormat.FULL; style <= DateFormat.SHORT; ++style) { in _test()
134 DateFormat df = DateFormat.getTimeInstance(style, loc); in _test()
[all …]
DIntlTestDateFormatAPI.java33 import ohos.global.icu.text.DateFormat;
48 DateFormat a = DateFormat.getInstance(); in TestEquals()
56 DateFormat b = DateFormat.getInstance(); in TestEquals()
88 DateFormat def = DateFormat.getInstance(); in TestAPI()
89 DateFormat fr = DateFormat.getTimeInstance(DateFormat.FULL, Locale.FRENCH); in TestAPI()
90 DateFormat it = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.ITALIAN); in TestAPI()
91DateFormat de = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, Locale.GERMAN); in TestAPI()
158 final Locale[] locales = DateFormat.getAvailableLocales(); in TestAPI()
DDateFormatRegressionTest.java36 import ohos.global.icu.text.DateFormat;
61 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195()
98DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US); in Test4052408()
262 DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.LONG); in Test4060212()
310 DateFormat shortdate, fulldate; in Test4065240()
325 shortdate = DateFormat.getDateInstance(DateFormat.SHORT); in Test4065240()
326 fulldate = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG); in Test4065240()
376 DateFormat fmtA = DateFormat.getInstance(); in Test4071441()
377 DateFormat fmtB = DateFormat.getInstance(); in Test4071441()
415 DateFormat fmt = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US); in Test4073003()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java144 public abstract class DateFormat extends UFormat { class
1378 public final static DateFormat getTimeInstance() in getTimeInstance()
1393 public final static DateFormat getTimeInstance(int style) in getTimeInstance()
1408 public final static DateFormat getTimeInstance(int style, in getTimeInstance()
1424 public final static DateFormat getTimeInstance(int style, in getTimeInstance()
1437 public final static DateFormat getDateInstance() in getDateInstance()
1455 public final static DateFormat getDateInstance(int style) in getDateInstance()
1473 public final static DateFormat getDateInstance(int style, in getDateInstance()
1492 public final static DateFormat getDateInstance(int style, in getDateInstance()
1505 public final static DateFormat getDateTimeInstance() in getDateTimeInstance()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDateFormat.java144 public abstract class DateFormat extends UFormat { class
1282 public final static DateFormat getTimeInstance() in getTimeInstance()
1296 public final static DateFormat getTimeInstance(int style) in getTimeInstance()
1310 public final static DateFormat getTimeInstance(int style, in getTimeInstance()
1325 public final static DateFormat getTimeInstance(int style, in getTimeInstance()
1337 public final static DateFormat getDateInstance() in getDateInstance()
1354 public final static DateFormat getDateInstance(int style) in getDateInstance()
1371 public final static DateFormat getDateInstance(int style, in getDateInstance()
1389 public final static DateFormat getDateInstance(int style, in getDateInstance()
1401 public final static DateFormat getDateTimeInstance() in getDateTimeInstance()
[all …]
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java28 import com.ibm.icu.text.DateFormat;
319 if (icuAttribute == DateFormat.Field.AM_PM) { in mapAttribute()
320 jdkAttribute = java.text.DateFormat.Field.AM_PM; in mapAttribute()
321 } else if (icuAttribute == DateFormat.Field.DAY_OF_MONTH) { in mapAttribute()
322 jdkAttribute = java.text.DateFormat.Field.DAY_OF_MONTH; in mapAttribute()
323 } else if (icuAttribute == DateFormat.Field.DAY_OF_WEEK) { in mapAttribute()
324 jdkAttribute = java.text.DateFormat.Field.DAY_OF_WEEK; in mapAttribute()
325 } else if (icuAttribute == DateFormat.Field.DAY_OF_WEEK_IN_MONTH) { in mapAttribute()
326 jdkAttribute = java.text.DateFormat.Field.DAY_OF_WEEK_IN_MONTH; in mapAttribute()
327 } else if (icuAttribute == DateFormat.Field.DAY_OF_YEAR) { in mapAttribute()
[all …]
/third_party/icu/tools/multi/proj/provider/glue/
Ddate_fe.cpp35 #define GLUE_VER(x) class GLUE_SYM_V( DateFormat, x ) : public DateFormat { \
36 public: static DateFormat *create(UDateFormatStyle timeStyle, \
44 private: UDateFormat *_this; GLUE_SYM_V( DateFormat, x ) ( UDateFormat* tn ); \
45 virtual ~ GLUE_SYM_V ( DateFormat, x) (); \
71 GLUE_SYM (DateFormat ) :: GLUE_SYM(DateFormat) ( UDateFormat* tn) : in GLUE_SYM() argument
79 GLUE_SYM ( DateFormat ) :: ~ GLUE_SYM(DateFormat) () { in GLUE_SYM() argument
86 DateFormat *
87 GLUE_SYM ( DateFormat ) :: create(UDateFormatStyle timeStyle, in GLUE_SYM() argument
106 DateFormat *c = new GLUE_SYM( DateFormat ) ( uc ); in GLUE_SYM()
113 UnicodeString& GLUE_SYM (DateFormat ) :: format( Calendar& cal, UnicodeString& appendTo, FieldPosi… in GLUE_SYM() argument
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ddtfmtrtts.cpp142 const Locale *avail = DateFormat::getAvailableLocales(locCount); in TestDateFormatRoundTrip()
193 static const char *styleName(DateFormat::EStyle s) in styleName()
197 case DateFormat::SHORT: return "SHORT"; in styleName()
198 case DateFormat::MEDIUM: return "MEDIUM"; in styleName()
199 case DateFormat::LONG: return "LONG"; in styleName()
200 case DateFormat::FULL: return "FULL"; in styleName()
202 case DateFormat::DATE_OFFSET: return "DATE_OFFSET"; in styleName()
203 case DateFormat::NONE: return "NONE"; in styleName()
204 case DateFormat::DATE_TIME: return "DATE_TIME"; in styleName()
237 for(style = DateFormat::FULL; style <= DateFormat::SHORT; ++style) { in test()
[all …]
Dtsdate.cpp38 fFormat = DateFormat::createInstance(); in runIndexedTest()
72 DateFormat::EStyle timeStyle, dateStyle; in testLocale()
79 for(timeStyle = (DateFormat::EStyle)0; in testLocale()
80 timeStyle < (DateFormat::EStyle)4; in testLocale()
81 timeStyle = (DateFormat::EStyle) (timeStyle+1)) in testLocale()
84 fFormat = DateFormat::createTimeInstance(timeStyle, locale); in testLocale()
90 for(dateStyle = (DateFormat::EStyle)0; in testLocale()
91 dateStyle < (DateFormat::EStyle)4; in testLocale()
92 dateStyle = (DateFormat::EStyle) (dateStyle+1)) in testLocale()
95 fFormat = DateFormat::createDateInstance(dateStyle, locale); in testLocale()
[all …]
Ddtfmapts.cpp83DateFormat *df = DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Loca… in TestCoverage()
98 DateFormat *a = DateFormat::createInstance(); in TestEquals()
101 DateFormat *b = DateFormat::createInstance(); in TestEquals()
139 DateFormat *def = DateFormat::createInstance(); in testAPI()
140 DateFormat *fr = DateFormat::createTimeInstance(DateFormat::FULL, Locale::getFrench()); in testAPI()
141 DateFormat *it = DateFormat::createDateInstance(DateFormat::MEDIUM, Locale::getItalian()); in testAPI()
142DateFormat *de = DateFormat::createDateTimeInstance(DateFormat::LONG, DateFormat::LONG, Locale::ge… in testAPI()
216 const Locale *locales = DateFormat::getAvailableLocales(count); in testAPI()
258 DateFormat *test = new SimpleDateFormat(status); in testAPI()
296 DateFormat *dateFmt = DateFormat::createInstance(); in TestNameHiding()
/third_party/boost/libs/locale/src/icu/
Dpredefined_formatters.hpp38 static const icu::DateFormat::EStyle styles[4] = { in icu_formatters_cache()
39 icu::DateFormat::kShort, in icu_formatters_cache()
40 icu::DateFormat::kMedium, in icu_formatters_cache()
41 icu::DateFormat::kLong, in icu_formatters_cache()
42 icu::DateFormat::kFull in icu_formatters_cache()
47 … hold_ptr<icu::DateFormat> fmt(icu::DateFormat::createDateInstance(styles[i],locale)); in icu_formatters_cache()
55 … hold_ptr<icu::DateFormat> fmt(icu::DateFormat::createTimeInstance(styles[i],locale)); in icu_formatters_cache()
64 hold_ptr<icu::DateFormat> fmt( in icu_formatters_cache()
65 icu::DateFormat::createDateTimeInstance(styles[i],styles[j],locale)); in icu_formatters_cache()
159 hold_ptr<icu::DateFormat> fmt(icu::DateFormat::createDateTimeInstance( in date_formatter()
[all …]
/third_party/flutter/flutter/dev/tools/localization/
Dgen_cupertino_localizations.dart39 @required intl.DateFormat fullYearFormat,
40 @required intl.DateFormat dayFormat,
41 @required intl.DateFormat mediumDateFormat,
42 @required intl.DateFormat singleDigitHourFormat,
43 @required intl.DateFormat singleDigitMinuteFormat,
44 @required intl.DateFormat doubleDigitMinuteFormat,
45 @required intl.DateFormat singleDigitSecondFormat,
65 intl.DateFormat fullYearFormat,
66 intl.DateFormat dayFormat,
67 intl.DateFormat mediumDateFormat,
[all …]
/third_party/flutter/flutter/packages/flutter_localizations/lib/src/l10n/
Dgenerated_cupertino_localizations.dart31 @required intl.DateFormat fullYearFormat,
32 @required intl.DateFormat dayFormat,
33 @required intl.DateFormat mediumDateFormat,
34 @required intl.DateFormat singleDigitHourFormat,
35 @required intl.DateFormat singleDigitMinuteFormat,
36 @required intl.DateFormat doubleDigitMinuteFormat,
37 @required intl.DateFormat singleDigitSecondFormat,
179 @required intl.DateFormat fullYearFormat,
180 @required intl.DateFormat dayFormat,
181 @required intl.DateFormat mediumDateFormat,
[all …]
/third_party/icu/icu4c/source/i18n/unicode/
Ddatefmt.h156 class U_I18N_API DateFormat : public Format {
224 virtual ~DateFormat();
232 virtual DateFormat* clone() const = 0;
535 static DateFormat* U_EXPORT2 createInstance(void);
548 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
566 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
587 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
619 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
636 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
655 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Ddatefmt.h156 class U_I18N_API DateFormat : public Format {
224 virtual ~DateFormat();
232 virtual DateFormat* clone() const = 0;
535 static DateFormat* U_EXPORT2 createInstance(void);
548 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
566 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
587 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
619 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
636 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
655 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
[all …]
/third_party/node/deps/icu-small/source/i18n/unicode/
Ddatefmt.h156 class U_I18N_API DateFormat : public Format {
224 virtual ~DateFormat();
232 virtual DateFormat* clone() const override = 0;
535 static DateFormat* U_EXPORT2 createInstance(void);
548 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
566 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
587 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
619 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
636 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
655 static DateFormat* U_EXPORT2 createInstanceForSkeleton(
[all …]

12345678910>>...12