Home
last modified time | relevance | path

Searched refs:DateFormatSymbols (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/icu/icu4c/source/test/intltest/
Dtsdtfmsy.cpp44 DateFormatSymbols *symbol; in TestGetMonths()
46 symbol=new DateFormatSymbols(Locale::getDefault(), status); in TestGetMonths()
63 DateFormatSymbols *symbol; in TestGetMonths2()
65 symbol=new DateFormatSymbols(Locale::getDefault(), status); in TestGetMonths2()
67DateFormatSymbols::DtContextType context[] = {DateFormatSymbols::STANDALONE, DateFormatSymbols::FO… in TestGetMonths2()
68DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED,… in TestGetMonths2()
88 DateFormatSymbols *symbol; in TestGetWeekdays2()
90 symbol=new DateFormatSymbols(Locale::getDefault(), status); in TestGetWeekdays2()
92DateFormatSymbols::DtContextType context[] = {DateFormatSymbols::STANDALONE, DateFormatSymbols::FO… in TestGetWeekdays2()
93DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED,… in TestGetWeekdays2()
[all …]
Dmiscdtfm.cpp160 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
195 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
226 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
255 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
327 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getJapan(), status); in test4117335()
Dsdtfmtts.cpp79 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getFrench(), status); in testAPI()
180 const DateFormatSymbols *syms = pat.getDateFormatSymbols(); in testAPI()
185 if(syms->getDynamicClassID() != DateFormatSymbols::getStaticClassID()) { in testAPI()
188 DateFormatSymbols *newSyms = new DateFormatSymbols(*syms); in testAPI()
208 newSyms =new DateFormatSymbols("gregorian", status); in testAPI()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormatSymbols.java28 import com.ibm.icu.text.DateFormatSymbols;
40 DateFormatSymbols symbol; in TestGetMonths()
42 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetMonths()
58 DateFormatSymbols symbol; in TestGetMonths2()
59 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetMonths2()
61 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT}; in TestGetMonths2()
62 … int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}; in TestGetMonths2()
80 DateFormatSymbols symbol; in TestGetWeekdays2()
81 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetWeekdays2()
83 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT}; in TestGetWeekdays2()
[all …]
DDateFormatMiscTests.java27 import com.ibm.icu.text.DateFormatSymbols;
80 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); in Test4099975new()
101 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); in Test4099975new()
136 DateFormatSymbols symbols = new DateFormatSymbols(Locale.JAPAN); in Test4117335()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDateFormatSymbols.java29 import ohos.global.icu.text.DateFormatSymbols;
43 DateFormatSymbols symbol; in TestGetMonths()
45 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetMonths()
61 DateFormatSymbols symbol; in TestGetMonths2()
62 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetMonths2()
64 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT}; in TestGetMonths2()
65 … int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}; in TestGetMonths2()
83 DateFormatSymbols symbol; in TestGetWeekdays2()
84 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetWeekdays2()
86 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT}; in TestGetWeekdays2()
[all …]
DDateFormatMiscTests.java28 import ohos.global.icu.text.DateFormatSymbols;
83 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); in Test4099975new()
104 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); in Test4099975new()
139 DateFormatSymbols symbols = new DateFormatSymbols(Locale.JAPAN); in Test4117335()
/third_party/skia/third_party/externals/icu/source/i18n/
Dudat.cpp605 const DateFormatSymbols *syms; in udat_getSymbols()
660 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
664 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::SHORT); in udat_getSymbols()
668 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
672 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
676 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
680 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
684 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
688 … res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
692 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::SHORT); in udat_getSymbols()
[all …]
Ddtfmtsym.cpp198 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols)
248 DateFormatSymbols * U_EXPORT2
249 DateFormatSymbols::createForLocale( in createForLocale()
256 DateFormatSymbols *result = new DateFormatSymbols(shared->get()); in createForLocale()
265 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
272 DateFormatSymbols::DateFormatSymbols(UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
279 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
287 DateFormatSymbols::DateFormatSymbols(const char *type, UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
293 DateFormatSymbols::DateFormatSymbols(const DateFormatSymbols& other) in DateFormatSymbols() function in DateFormatSymbols
300 DateFormatSymbols::assignArray(UnicodeString*& dstArray, in assignArray()
[all …]
Dsmpdtfmt.cpp372 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
393 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
418 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
441 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
452 DateFormatSymbols* symbolsToAdopt, in SimpleDateFormat()
474 const DateFormatSymbols& symbols, in SimpleDateFormat()
478 fSymbols(new DateFormatSymbols(symbols)), in SimpleDateFormat()
532 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
538 fSymbols = new DateFormatSymbols(status); in SimpleDateFormat()
584 fSymbols = new DateFormatSymbols(*other.fSymbols); in operator =()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dudat.cpp596 const DateFormatSymbols *syms; in udat_getSymbols()
651 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
655 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::SHORT); in udat_getSymbols()
659 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
663 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
667 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
671 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
675 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
679 … res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
683 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::SHORT); in udat_getSymbols()
[all …]
Ddtfmtsym.cpp195 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols)
247 DateFormatSymbols * U_EXPORT2
248 DateFormatSymbols::createForLocale( in createForLocale()
255 DateFormatSymbols *result = new DateFormatSymbols(shared->get()); in createForLocale()
264 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
271 DateFormatSymbols::DateFormatSymbols(UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
278 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
286 DateFormatSymbols::DateFormatSymbols(const char *type, UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
292 DateFormatSymbols::DateFormatSymbols(const DateFormatSymbols& other) in DateFormatSymbols() function in DateFormatSymbols
299 DateFormatSymbols::assignArray(UnicodeString*& dstArray, in assignArray()
[all …]
/third_party/icu/icu4c/source/i18n/
Dudat.cpp605 const DateFormatSymbols *syms; in udat_getSymbols()
660 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
664 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::SHORT); in udat_getSymbols()
668 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
672 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
676 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
680 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
684 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
688 … res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
692 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::SHORT); in udat_getSymbols()
[all …]
Ddtfmtsym.cpp198 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols)
248 DateFormatSymbols * U_EXPORT2
249 DateFormatSymbols::createForLocale( in createForLocale()
256 DateFormatSymbols *result = new DateFormatSymbols(shared->get()); in createForLocale()
265 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
272 DateFormatSymbols::DateFormatSymbols(UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
279 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
287 DateFormatSymbols::DateFormatSymbols(const char *type, UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
293 DateFormatSymbols::DateFormatSymbols(const DateFormatSymbols& other) in DateFormatSymbols() function in DateFormatSymbols
300 DateFormatSymbols::assignArray(UnicodeString*& dstArray, in assignArray()
[all …]
Dsmpdtfmt.cpp372 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
393 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
418 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
441 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
452 DateFormatSymbols* symbolsToAdopt, in SimpleDateFormat()
474 const DateFormatSymbols& symbols, in SimpleDateFormat()
478 fSymbols(new DateFormatSymbols(symbols)), in SimpleDateFormat()
532 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
538 fSymbols = new DateFormatSymbols(status); in SimpleDateFormat()
584 fSymbols = new DateFormatSymbols(*other.fSymbols); in operator =()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dudat.cpp605 const DateFormatSymbols *syms; in udat_getSymbols()
660 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
664 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::SHORT); in udat_getSymbols()
668 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
672 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
676 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
680 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
684 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
688 … res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
692 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::SHORT); in udat_getSymbols()
[all …]
Ddtfmtsym.cpp198 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols)
248 DateFormatSymbols * U_EXPORT2
249 DateFormatSymbols::createForLocale( in createForLocale()
256 DateFormatSymbols *result = new DateFormatSymbols(shared->get()); in createForLocale()
265 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
272 DateFormatSymbols::DateFormatSymbols(UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
279 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
287 DateFormatSymbols::DateFormatSymbols(const char *type, UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
293 DateFormatSymbols::DateFormatSymbols(const DateFormatSymbols& other) in DateFormatSymbols() function in DateFormatSymbols
300 DateFormatSymbols::assignArray(UnicodeString*& dstArray, in assignArray()
[all …]
Dsmpdtfmt.cpp373 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
394 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
419 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
442 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
453 DateFormatSymbols* symbolsToAdopt, in SimpleDateFormat()
475 const DateFormatSymbols& symbols, in SimpleDateFormat()
479 fSymbols(new DateFormatSymbols(symbols)), in SimpleDateFormat()
533 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
539 fSymbols = new DateFormatSymbols(status); in SimpleDateFormat()
585 fSymbols = new DateFormatSymbols(*other.fSymbols); in operator =()
[all …]
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatSymbolsTest.java11 import java.text.DateFormatSymbols;
28 for (Locale loc : DateFormatSymbols.getAvailableLocales()) { in TestGetInstance()
34 DateFormatSymbols dfs = DateFormatSymbols.getInstance(loc); in TestGetInstance()
47 DateFormatSymbols dfsIcu = DateFormatSymbols.getInstance(iculoc); in TestGetInstance()
77 DateFormatSymbols jdkDfs = DateFormatSymbols.getInstance(iculoc); in TestICUEquivalent()
78 … com.ibm.icu.text.DateFormatSymbols icuDfs = com.ibm.icu.text.DateFormatSymbols.getInstance(loc); in TestICUEquivalent()
96 DateFormatSymbols dfs = DateFormatSymbols.getInstance(new Locale("ja", "JP", "ICU")); in TestSetSymbols()
100 DateFormatSymbols dfsEnUS = DateFormatSymbols.getInstance(loc); in TestSetSymbols()
168 DateFormatSymbols dfs_nnNO = DateFormatSymbols.getInstance(nnNO); in TestNynorsk()
169DateFormatSymbols dfs_nnNO_ICU = DateFormatSymbols.getInstance(TestUtil.toICUExtendedLocale(nnNO)); in TestNynorsk()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Ddtfmtsym.h84 class U_I18N_API DateFormatSymbols U_FINAL : public UObject {
99 DateFormatSymbols(UErrorCode& status);
111 DateFormatSymbols(const Locale& locale,
131 DateFormatSymbols(const char *type, UErrorCode& status);
146 DateFormatSymbols(const Locale& locale,
155 DateFormatSymbols(const DateFormatSymbols&);
161 DateFormatSymbols& operator=(const DateFormatSymbols&);
168 virtual ~DateFormatSymbols();
177 UBool operator==(const DateFormatSymbols& other) const;
186 UBool operator!=(const DateFormatSymbols& other) const { return !operator==(other); }
[all …]
/third_party/node/deps/icu-small/source/i18n/unicode/
Ddtfmtsym.h84 class U_I18N_API DateFormatSymbols U_FINAL : public UObject {
99 DateFormatSymbols(UErrorCode& status);
111 DateFormatSymbols(const Locale& locale,
131 DateFormatSymbols(const char *type, UErrorCode& status);
146 DateFormatSymbols(const Locale& locale,
155 DateFormatSymbols(const DateFormatSymbols&);
161 DateFormatSymbols& operator=(const DateFormatSymbols&);
168 virtual ~DateFormatSymbols();
177 bool operator==(const DateFormatSymbols& other) const;
186 bool operator!=(const DateFormatSymbols& other) const { return !operator==(other); }
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Ddtfmtsym.h82 class U_I18N_API DateFormatSymbols U_FINAL : public UObject {
97 DateFormatSymbols(UErrorCode& status);
109 DateFormatSymbols(const Locale& locale,
129 DateFormatSymbols(const char *type, UErrorCode& status);
144 DateFormatSymbols(const Locale& locale,
153 DateFormatSymbols(const DateFormatSymbols&);
159 DateFormatSymbols& operator=(const DateFormatSymbols&);
166 virtual ~DateFormatSymbols();
175 UBool operator==(const DateFormatSymbols& other) const;
184 UBool operator!=(const DateFormatSymbols& other) const { return !operator==(other); }
[all …]
/third_party/icu/icu4c/source/i18n/unicode/
Ddtfmtsym.h84 class U_I18N_API DateFormatSymbols U_FINAL : public UObject {
99 DateFormatSymbols(UErrorCode& status);
111 DateFormatSymbols(const Locale& locale,
131 DateFormatSymbols(const char *type, UErrorCode& status);
146 DateFormatSymbols(const Locale& locale,
155 DateFormatSymbols(const DateFormatSymbols&);
161 DateFormatSymbols& operator=(const DateFormatSymbols&);
168 virtual ~DateFormatSymbols();
177 UBool operator==(const DateFormatSymbols& other) const;
186 UBool operator!=(const DateFormatSymbols& other) const { return !operator==(other); }
[all …]
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DDateFormatSymbolsICU.java11 import com.ibm.icu.text.DateFormatSymbols;
17 public class DateFormatSymbolsICU extends java.text.DateFormatSymbols {
21 private DateFormatSymbols fIcuDfs;
38 private DateFormatSymbolsICU(DateFormatSymbols icuDfs) { in DateFormatSymbolsICU()
42 public static java.text.DateFormatSymbols wrap(DateFormatSymbols icuDfs) { in wrap()
44 icuDfs = new DateFormatSymbols(); in wrap()
49 public DateFormatSymbols unwrap() { in unwrap()
60 other.fIcuDfs = (DateFormatSymbols)this.fIcuDfs.clone(); in clone()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
DDateFormatSymbolsProviderICU.java11 import java.text.DateFormatSymbols;
21 public DateFormatSymbols getInstance(Locale locale) { in getInstance()
22 com.ibm.icu.text.DateFormatSymbols icuDfs = com.ibm.icu.text.DateFormatSymbols.getInstance( in getInstance()

1234