Home
last modified time | relevance | path

Searched refs:DateFormatSymbols (Results 1 – 25 of 75) 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()
/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()
/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.cpp364 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
385 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
410 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
433 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
444 DateFormatSymbols* symbolsToAdopt, in SimpleDateFormat()
466 const DateFormatSymbols& symbols, in SimpleDateFormat()
470 fSymbols(new DateFormatSymbols(symbols)), in SimpleDateFormat()
524 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat()
530 fSymbols = new DateFormatSymbols(status); in SimpleDateFormat()
576 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/cldr/tools/java/org/unicode/cldr/util/
DICUServiceBuilder.java16 import com.ibm.icu.text.DateFormatSymbols;
57 …private Map<String, DateFormatSymbols> cacheDateFormatSymbols = new HashMap<String, DateFormatSymb…
208 result.setDateFormatSymbols((DateFormatSymbols) _getDateFormatSymbols(calendar).clone()); in getFullFormat()
245 private DateFormatSymbols _getDateFormatSymbols(String calendar) { in _getDateFormatSymbols()
247 DateFormatSymbols result = cacheDateFormatSymbols.get(key); in _getDateFormatSymbols()
248 if (result != null) return (DateFormatSymbols) result.clone(); in _getDateFormatSymbols()
256 DateFormatSymbols formatData = new DateFormatSymbols(curLocaleWithCalendar); in _getDateFormatSymbols()
287 formatData.setMonths(getArray(prefix, "month", "format", "wide"), DateFormatSymbols.FORMAT, in _getDateFormatSymbols()
288 DateFormatSymbols.WIDE); in _getDateFormatSymbols()
289 … formatData.setMonths(getArray(prefix, "month", "format", "abbreviated"), DateFormatSymbols.FORMAT, in _getDateFormatSymbols()
[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
827 DateFormatSymbols* formatDataToAdopt,
840 const DateFormatSymbols& formatData,
1056 virtual const DateFormatSymbols* getDateFormatSymbols(void) const;
1064 virtual void adoptDateFormatSymbols(DateFormatSymbols* newFormatSymbols);
1071 virtual void setDateFormatSymbols(const DateFormatSymbols& newFormatSymbols);
1581 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()
303 private static String[] getFieldStrings(int field, int style, DateFormatSymbols dfs) { in getFieldStrings()
323 …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/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 …]
/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.java86 public class DateFormatSymbols implements Serializable, Cloneable { class
223 public DateFormatSymbols() in DateFormatSymbols() method in DateFormatSymbols
235 public DateFormatSymbols(Locale locale) in DateFormatSymbols() method in DateFormatSymbols
247 public DateFormatSymbols(ULocale locale) in DateFormatSymbols() method in DateFormatSymbols
262 public static DateFormatSymbols getInstance() { in getInstance()
263 return new DateFormatSymbols(); in getInstance()
277 public static DateFormatSymbols getInstance(Locale locale) { in getInstance()
278 return new DateFormatSymbols(locale); in getInstance()
292 public static DateFormatSymbols getInstance(ULocale locale) { in getInstance()
293 return new DateFormatSymbols(locale); in getInstance()
[all …]
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DDateFormatSymbols.java.patch1 --- android_icu4j/src/main/java/android/icu/text/DateFormatSymbols.java 2018-06-13 19:00:05.6841134…
2 +++ android_icu4j/src/main/java/android/icu/text/DateFormatSymbols.java 2018-06-13 18:58:50.6044241…
10 public class DateFormatSymbols implements Serializable, Cloneable {

123