Home
last modified time | relevance | path

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

12

/external/icu4c/test/intltest/
Dtsdtfmsy.cpp41 DateFormatSymbols *symbol; in TestGetMonths()
43 symbol=new DateFormatSymbols(Locale::getDefault(), status); in TestGetMonths()
60 DateFormatSymbols *symbol; in TestGetMonths2()
62 symbol=new DateFormatSymbols(Locale::getDefault(), status); in TestGetMonths2()
64DateFormatSymbols::DtContextType context[] = {DateFormatSymbols::STANDALONE, DateFormatSymbols::FO… in TestGetMonths2()
65DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED,… in TestGetMonths2()
85 DateFormatSymbols *symbol; in TestGetWeekdays2()
87 symbol=new DateFormatSymbols(Locale::getDefault(), status); in TestGetWeekdays2()
89DateFormatSymbols::DtContextType context[] = {DateFormatSymbols::STANDALONE, DateFormatSymbols::FO… in TestGetWeekdays2()
90DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED,… in TestGetWeekdays2()
[all …]
Dmiscdtfm.cpp161 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
196 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
227 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
256 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
328 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getJapan(), status); in test4117335()
Dsdtfmtts.cpp77 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getFrench(), status); in testAPI()
178 const DateFormatSymbols *syms = pat.getDateFormatSymbols(); in testAPI()
183 if(syms->getDynamicClassID() != DateFormatSymbols::getStaticClassID()) { in testAPI()
186 DateFormatSymbols *newSyms = new DateFormatSymbols(*syms); in testAPI()
206 newSyms =new DateFormatSymbols("gregorian", status); in testAPI()
Duobjtest.cpp359 TESTCLASSID_CTOR(DateFormatSymbols, (status)); in testIDs()
Dcaltest.cpp1453 DateFormatSymbols *dfs = new DateFormatSymbols(Locale::getGermany(), status); in TestDOW_LOCALandYEAR_WOY()
Ddtfmttst.cpp474 DateFormatSymbols rootSyms(Locale(""), ec); in TestFieldPosition()
483 assertEquals("patternChars", PATTERN_CHARS, DateFormatSymbols::getPatternUChars()); in TestFieldPosition()
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DDateFormatSymbolsTest.java25 import java.text.DateFormatSymbols;
34 private DateFormatSymbols dfs;
42 new DateFormatSymbols(); in test_Constructor()
50 new DateFormatSymbols(new Locale("en", "us")); in test_ConstructorLjava_util_Locale()
57 Locale[] locales = DateFormatSymbols.getAvailableLocales(); in test_getAvailableLocales_no_provider()
80 Locale[] locales = DateFormatSymbols.getAvailableLocales(); in test_getAvailableLocales_correct_provider()
111 DateFormatSymbols.getAvailableLocales(); in test_getAvailableLocales_wrong_provider()
128 DateFormatSymbols.getInstance(); in test_getInstance()
129 assertEquals(new DateFormatSymbols(), DateFormatSymbols.getInstance()); in test_getInstance()
130 assertEquals(new DateFormatSymbols(Locale.getDefault()), in test_getInstance()
[all …]
DDateFormatTest.java20 import java.text.DateFormatSymbols;
80 new DateFormatSymbols())); in test_getDateInstance()
98 new DateFormatSymbols())); in test_getDateInstanceI()
107 new DateFormatSymbols())); in test_getDateInstanceI()
116 new DateFormatSymbols())); in test_getDateInstanceI()
125 new DateFormatSymbols())); in test_getDateInstanceI()
146 new DateFormatSymbols(Locale.GERMAN))); in test_getDateInstanceILjava_util_Locale()
154 new DateFormatSymbols(Locale.GERMAN))); in test_getDateInstanceILjava_util_Locale()
162 new DateFormatSymbols(Locale.GERMAN))); in test_getDateInstanceILjava_util_Locale()
170 new DateFormatSymbols(Locale.GERMAN))); in test_getDateInstanceILjava_util_Locale()
[all …]
DMockedDateFormatSymbolsProvider.java20 import java.text.DateFormatSymbols;
28 public DateFormatSymbols getInstance(Locale locale) { in getInstance()
44 public static class MockedDateFormatSymbols extends DateFormatSymbols {
DSimpleDateFormatTest.java20 import java.text.DateFormatSymbols;
116 new DateFormatSymbols())); in test_Constructor()
132 new DateFormatSymbols())); in test_ConstructorLjava_lang_String()
161 DateFormatSymbols symbols = new DateFormatSymbols(Locale.ENGLISH); in test_ConstructorLjava_lang_StringLjava_text_DateFormatSymbols()
183 new DateFormatSymbols(Locale.GERMAN))); in test_ConstructorLjava_lang_StringLjava_util_Locale()
567 DateFormatSymbols dfs = df.getDateFormatSymbols(); in test_getDateFormatSymbols()
812 DateFormatSymbols symbols = new DateFormatSymbols(); in test_setDateFormatSymbolsLjava_text_DateFormatSymbols()
815 DateFormatSymbols newSym = f1.getDateFormatSymbols(); in test_setDateFormatSymbolsLjava_text_DateFormatSymbols()
/external/icu4c/i18n/
Dudat.cpp431 const DateFormatSymbols *syms; in udat_getSymbols()
486 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
490 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); in udat_getSymbols()
494 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
498 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
502 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
506 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); in udat_getSymbols()
510 … res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); in udat_getSymbols()
514 res = syms->getWeekdays(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW); in udat_getSymbols()
518 res = syms->getQuarters(count, DateFormatSymbols::FORMAT, DateFormatSymbols::WIDE); in udat_getSymbols()
[all …]
Ddtfmtsym.cpp149 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols)
192 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
199 DateFormatSymbols::DateFormatSymbols(UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
206 DateFormatSymbols::DateFormatSymbols(const Locale& locale, in DateFormatSymbols() function in DateFormatSymbols
214 DateFormatSymbols::DateFormatSymbols(const char *type, UErrorCode& status) in DateFormatSymbols() function in DateFormatSymbols
220 DateFormatSymbols::DateFormatSymbols(const DateFormatSymbols& other) in DateFormatSymbols() function in DateFormatSymbols
227 DateFormatSymbols::assignArray(UnicodeString*& dstArray, in assignArray()
260 DateFormatSymbols::createZoneStrings(const UnicodeString *const * otherStrings) in createZoneStrings()
294 DateFormatSymbols::copyData(const DateFormatSymbols& other) { in copyData()
351 DateFormatSymbols& DateFormatSymbols::operator=(const DateFormatSymbols& other) in operator =()
[all …]
Dsmpdtfmt.cpp342 DateFormatSymbols* symbolsToAdopt, in SimpleDateFormat()
364 const DateFormatSymbols& symbols, in SimpleDateFormat()
368 fSymbols(new DateFormatSymbols(symbols)), in SimpleDateFormat()
427 fSymbols = new DateFormatSymbols(status); in SimpleDateFormat()
471 fSymbols = new DateFormatSymbols(*other.fSymbols); in operator =()
732 fSymbols = new DateFormatSymbols(locale, calendar?calendar->getType() :NULL , status); in initializeSymbols()
1156 DateFormatSymbols::getPatternCharIndex(ovrField.charAt(0)); in processOverrideString()
1188 UDateFormatField patternCharIndex = DateFormatSymbols::getPatternCharIndex(ch); in subFormat()
1192DateFormatSymbols::ECapitalizationContextUsageType capContextUsageType = DateFormatSymbols::kCapCo… in subFormat()
1225 capContextUsageType = DateFormatSymbols::kCapContextUsageEraNarrow; in subFormat()
[all …]
Dreldtfmt.h26 class DateFormatSymbols; variable
233 virtual const DateFormatSymbols* getDateFormatSymbols(void) const;
Dreldtfmt.cpp380 const DateFormatSymbols*
/external/icu4c/i18n/unicode/
Ddtfmtsym.h79 class U_I18N_API DateFormatSymbols : public UObject {
94 DateFormatSymbols(UErrorCode& status);
106 DateFormatSymbols(const Locale& locale,
126 DateFormatSymbols(const char *type, UErrorCode& status);
141 DateFormatSymbols(const Locale& locale,
150 DateFormatSymbols(const DateFormatSymbols&);
156 DateFormatSymbols& operator=(const DateFormatSymbols&);
163 virtual ~DateFormatSymbols();
172 UBool operator==(const DateFormatSymbols& other) const;
181 UBool operator!=(const DateFormatSymbols& other) const { return !operator==(other); }
[all …]
Dsmpdtfmt.h41 class DateFormatSymbols; variable
331 DateFormatSymbols* formatDataToAdopt,
344 const DateFormatSymbols& formatData,
724 virtual const DateFormatSymbols* getDateFormatSymbols(void) const;
732 virtual void adoptDateFormatSymbols(DateFormatSymbols* newFormatSymbols);
739 virtual void setDateFormatSymbols(const DateFormatSymbols& newFormatSymbols);
1196 DateFormatSymbols* fSymbols; // Owned
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DCalendarTest.java20 import java.text.DateFormatSymbols;
798 DateFormatSymbols symbols = new DateFormatSymbols(locale); in test_getDisplayNameIILjava_util_Locale()
962 DateFormatSymbols symbols = new DateFormatSymbols(locale); in test_getDisplayNamesIILjava_util_Locale()
/external/chromium/net/ftp/
Dftp_util.cc127 icu::DateFormatSymbols format_symbols(locales[locale], status); in AbbreviatedMonthToNumber()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DSerializationStressTest.java183 java.text.DateFormatSymbols symbols = new java.text.DateFormatSymbols();
DSerializationStressTest4.java996 objToSave = new java.text.DateFormatSymbols(Locale.CHINESE); in test_writeObject_DateFormatSymbols()
997 ((java.text.DateFormatSymbols) objToSave) in test_writeObject_DateFormatSymbols()
/external/webkit/Source/JavaScriptGlue/icu/unicode/
Durename.h1233 #define DateFormatSymbols DateFormatSymbols_3_2 macro
/external/webkit/Source/WebCore/icu/unicode/
Durename.h1233 #define DateFormatSymbols DateFormatSymbols_3_2 macro
/external/webkit/Source/WebKit/mac/icu/unicode/
Durename.h1233 #define DateFormatSymbols DateFormatSymbols_3_2 macro
/external/webkit/Source/JavaScriptCore/icu/unicode/
Durename.h1233 #define DateFormatSymbols DateFormatSymbols_3_2 macro

12