Home
last modified time | relevance | path

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

123

/external/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.cpp163 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
198 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
229 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
258 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
330 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()
/external/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()
DIntlTestSimpleDateFormatAPI.java34 import com.ibm.icu.text.DateFormatSymbols;
63 DateFormatSymbols symbols = new DateFormatSymbols(Locale.FRENCH); in TestAPI()
116 final DateFormatSymbols syms = pat.getDateFormatSymbols(); in TestAPI()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDateFormatSymbols.java29 import android.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 android.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()
DIntlTestSimpleDateFormatAPI.java35 import android.icu.text.DateFormatSymbols;
66 DateFormatSymbols symbols = new DateFormatSymbols(Locale.FRENCH); in TestAPI()
119 final DateFormatSymbols syms = pat.getDateFormatSymbols(); in TestAPI()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DDateFormatSymbolsTest.java14 import com.ibm.icu.text.DateFormatSymbols;
23 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); in testHashCode()
24 DateFormatSymbols dfs2 = new DateFormatSymbols(ULocale.US); in testHashCode()
25 DateFormatSymbols dfsn = new DateFormatSymbols(Locale.US); in testHashCode()
41 DateFormatSymbols dfs = new DateFormatSymbols(); in testDateFormatSymbols()
49 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); in testDateFormatSymbolsLocale()
57 DateFormatSymbols dfs = new DateFormatSymbols(ULocale.US); in testDateFormatSymbolsULocale()
65 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); in testGetEras()
73 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); in testSetEras()
87 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); in testGetMonths()
[all …]
DSimpleDateFormatTest.java18 import com.ibm.icu.text.DateFormatSymbols;
115 DateFormatSymbols dfs = new DateFormatSymbols(l); in testSimpleDateFormatStringDateFormatSymbols()
116 java.text.DateFormatSymbols jdfs = new java.text.DateFormatSymbols(l); in testSimpleDateFormatStringDateFormatSymbols()
189 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); in testGetDateFormatSymbols()
198 DateFormatSymbols dfs = new DateFormatSymbols(Locale.JAPAN); in testSetDateFormatSymbols()
/external/icu/icu4c/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 …]
Dsmpdtfmt.cpp412 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
433 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
458 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
481 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
492 DateFormatSymbols* symbolsToAdopt, in SimpleDateFormat()
514 const DateFormatSymbols& symbols, in SimpleDateFormat()
518 fSymbols(new DateFormatSymbols(symbols)), in SimpleDateFormat()
572 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
578 fSymbols = new DateFormatSymbols(status); in SimpleDateFormat()
624 fSymbols = new DateFormatSymbols(*other.fSymbols); in operator =()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDateFormatSymbols.java62 public class DateFormatSymbols implements Serializable, Cloneable { class
67 public java.text.DateFormatSymbols dfs;
70 public DateFormatSymbols(java.text.DateFormatSymbols delegate) { in DateFormatSymbols() method in DateFormatSymbols
134 public DateFormatSymbols() in DateFormatSymbols() method in DateFormatSymbols
136 this(new java.text.DateFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())); in DateFormatSymbols()
147 public DateFormatSymbols(Locale locale) in DateFormatSymbols() method in DateFormatSymbols
149 this(new java.text.DateFormatSymbols(locale)); in DateFormatSymbols()
160 public DateFormatSymbols(ULocale locale) in DateFormatSymbols() method in DateFormatSymbols
162 this(new java.text.DateFormatSymbols(locale.toLocale())); in DateFormatSymbols()
176 public static DateFormatSymbols getInstance() { in getInstance()
[all …]
/external/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 …]
/external/icu/icu4c/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 …]
Dsmpdtfmt.h45 class DateFormatSymbols; variable
823 DateFormatSymbols* formatDataToAdopt,
836 const DateFormatSymbols& formatData,
1052 virtual const DateFormatSymbols* getDateFormatSymbols(void) const;
1060 virtual void adoptDateFormatSymbols(DateFormatSymbols* newFormatSymbols);
1067 virtual void setDateFormatSymbols(const DateFormatSymbols& newFormatSymbols);
1568 DateFormatSymbols* fSymbols; // Owned
/external/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()
DCalendarICU.java17 import com.ibm.icu.text.DateFormatSymbols;
123 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale); in getDisplayName()
139 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale); in getDisplayNames()
298 private static String[] getFieldStrings(int field, int style, DateFormatSymbols dfs) { in getFieldStrings()
318 …private static Map<String,Integer> getFieldStringsMap(int field, int style, DateFormatSymbols dfs)… in getFieldStringsMap()
/external/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()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java886 private DateFormatSymbols formatData;
1033 public SimpleDateFormat(String pattern, DateFormatSymbols formatData) in SimpleDateFormat()
1035 this(pattern, (DateFormatSymbols)formatData.clone(), null, null, null, true, null); in SimpleDateFormat()
1044 public SimpleDateFormat(String pattern, DateFormatSymbols formatData, ULocale loc) in SimpleDateFormat()
1046 this(pattern, (DateFormatSymbols)formatData.clone(), null, null, loc, true,null); in SimpleDateFormat()
1055 … SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, ULocale locale, in SimpleDateFormat()
1057 …this(pattern, (DateFormatSymbols)formatData.clone(), (Calendar)calendar.clone(), null, locale, use… in SimpleDateFormat()
1063 private SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, in SimpleDateFormat()
1106 formatData = new DateFormatSymbols(locale); in initialize()
1514 FieldPosition pos, DateFormatSymbols fmtData, in subFormat()
[all …]
DDateFormatSymbols.java87 public class DateFormatSymbols implements Serializable, Cloneable { class
224 public DateFormatSymbols() in DateFormatSymbols() method in DateFormatSymbols
236 public DateFormatSymbols(Locale locale) in DateFormatSymbols() method in DateFormatSymbols
248 public DateFormatSymbols(ULocale locale) in DateFormatSymbols() method in DateFormatSymbols
263 public static DateFormatSymbols getInstance() { in getInstance()
264 return new DateFormatSymbols(); in getInstance()
278 public static DateFormatSymbols getInstance(Locale locale) { in getInstance()
279 return new DateFormatSymbols(locale); in getInstance()
293 public static DateFormatSymbols getInstance(ULocale locale) { in getInstance()
294 return new DateFormatSymbols(locale); in getInstance()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java886 private DateFormatSymbols formatData;
1040 public SimpleDateFormat(String pattern, DateFormatSymbols formatData) in SimpleDateFormat()
1042 this(pattern, (DateFormatSymbols)formatData.clone(), null, null, null, true, null); in SimpleDateFormat()
1050 public SimpleDateFormat(String pattern, DateFormatSymbols formatData, ULocale loc) in SimpleDateFormat()
1052 this(pattern, (DateFormatSymbols)formatData.clone(), null, null, loc, true,null); in SimpleDateFormat()
1061 … SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, ULocale locale, in SimpleDateFormat()
1063 …this(pattern, (DateFormatSymbols)formatData.clone(), (Calendar)calendar.clone(), null, locale, use… in SimpleDateFormat()
1069 private SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, in SimpleDateFormat()
1111 formatData = new DateFormatSymbols(locale); in initialize()
1526 FieldPosition pos, DateFormatSymbols fmtData, in subFormat()
[all …]
DDateFormatSymbols.java87 public class DateFormatSymbols implements Serializable, Cloneable { class
228 public DateFormatSymbols() in DateFormatSymbols() method in DateFormatSymbols
241 public DateFormatSymbols(Locale locale) in DateFormatSymbols() method in DateFormatSymbols
254 public DateFormatSymbols(ULocale locale) in DateFormatSymbols() method in DateFormatSymbols
270 public static DateFormatSymbols getInstance() { in getInstance()
271 return new DateFormatSymbols(); in getInstance()
286 public static DateFormatSymbols getInstance(Locale locale) { in getInstance()
287 return new DateFormatSymbols(locale); in getInstance()
302 public static DateFormatSymbols getInstance(ULocale locale) { in getInstance()
303 return new DateFormatSymbols(locale); in getInstance()
[all …]

123