/external/icu/icu4c/source/test/intltest/ |
D | tsdtfmsy.cpp | 44 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() 67 …DateFormatSymbols::DtContextType context[] = {DateFormatSymbols::STANDALONE, DateFormatSymbols::FO… in TestGetMonths2() 68 …DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED,… in TestGetMonths2() 88 DateFormatSymbols *symbol; in TestGetWeekdays2() 90 symbol=new DateFormatSymbols(Locale::getDefault(), status); in TestGetWeekdays2() 92 …DateFormatSymbols::DtContextType context[] = {DateFormatSymbols::STANDALONE, DateFormatSymbols::FO… in TestGetWeekdays2() 93 …DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED,… in TestGetWeekdays2() [all …]
|
D | miscdtfm.cpp | 160 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()
|
D | sdtfmtts.cpp | 79 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/ |
D | IntlTestDateFormatSymbols.java | 28 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 …]
|
D | DateFormatMiscTests.java | 27 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/ |
D | IntlTestDateFormatSymbols.java | 29 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 …]
|
D | DateFormatMiscTests.java | 28 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/icu4c/source/i18n/ |
D | udat.cpp | 605 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 …]
|
D | dtfmtsym.cpp | 198 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 …]
|
D | smpdtfmt.cpp | 372 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 …]
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | DateFormatSymbolsTest.java | 11 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() 169 …DateFormatSymbols dfs_nnNO_ICU = DateFormatSymbols.getInstance(TestUtil.toICUExtendedLocale(nnNO)); in TestNynorsk() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ICUServiceBuilder.java | 17 import com.ibm.icu.text.DateFormatSymbols; 58 private Map<String, DateFormatSymbols> cacheDateFormatSymbols = new HashMap<>(); 221 result.setDateFormatSymbols((DateFormatSymbols) _getDateFormatSymbols(calendar).clone()); in getFullFormat() 258 private DateFormatSymbols _getDateFormatSymbols(String calendar) { in _getDateFormatSymbols() 260 DateFormatSymbols result = cacheDateFormatSymbols.get(key); in _getDateFormatSymbols() 261 if (result != null) return (DateFormatSymbols) result.clone(); in _getDateFormatSymbols() 269 DateFormatSymbols formatData = new DateFormatSymbols(curLocaleWithCalendar); in _getDateFormatSymbols() 300 formatData.setMonths(getArray(prefix, "month", "format", "wide"), DateFormatSymbols.FORMAT, in _getDateFormatSymbols() 301 DateFormatSymbols.WIDE); in _getDateFormatSymbols() 302 … formatData.setMonths(getArray(prefix, "month", "format", "abbreviated"), DateFormatSymbols.FORMAT, in _getDateFormatSymbols() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtfmtsym.h | 84 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 …]
|
D | smpdtfmt.h | 47 class DateFormatSymbols; variable 830 DateFormatSymbols* formatDataToAdopt, 843 const DateFormatSymbols& formatData, 1059 virtual const DateFormatSymbols* getDateFormatSymbols(void) const; 1067 virtual void adoptDateFormatSymbols(DateFormatSymbols* newFormatSymbols); 1074 virtual void setDateFormatSymbols(const DateFormatSymbols& newFormatSymbols); 1586 DateFormatSymbols* fSymbols; // Owned
|
/external/icu/libicu/cts_headers/unicode/ |
D | dtfmtsym.h | 84 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 …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | DateFormatSymbolsICU.java | 11 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()
|
D | CalendarICU.java | 17 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/android_icu4j/testing/src/com/android/icu/test/text/ |
D | ExtendedDateFormatSymbolsTest.java | 19 import static android.icu.text.DateFormatSymbols.ABBREVIATED; 20 import static android.icu.text.DateFormatSymbols.FORMAT; 21 import static android.icu.text.DateFormatSymbols.STANDALONE; 28 import android.icu.text.DateFormatSymbols; 42 for(ULocale locale : DateFormatSymbols.getAvailableULocales()) { in testAll() 44 DateFormatSymbols dfs = extendedDfs.getDateFormatSymbols(); in testAll()
|
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/text/ |
D | ExtendedDateFormatSymbols.java | 19 import android.icu.text.DateFormatSymbols; 20 import android.icu.text.DateFormatSymbols.AospExtendedDateFormatSymbols; 45 return new ExtendedDateFormatSymbols(DateFormatSymbols.getExtendedInstance(locale)); in getInstance() 53 public DateFormatSymbols getDateFormatSymbols() { in getDateFormatSymbols()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/ |
D | DateFormatSymbolsProviderICU.java | 11 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/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/ |
D | DateFormatSymbols.java.patch | 1 --- android_icu4j/src/main/java/android/icu/text/DateFormatSymbols.java 2021-01-19 16:26:29.4866849… 2 +++ android_icu4j/src/main/java/android/icu/text/DateFormatSymbols.java 2021-01-19 16:26:50.9268370… 10 public class DateFormatSymbols implements Serializable, Cloneable {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormatSymbols.java | 87 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 …]
|
D | SimpleDateFormat.java | 886 private DateFormatSymbols formatData; 1045 public SimpleDateFormat(String pattern, DateFormatSymbols formatData) in SimpleDateFormat() 1047 this(pattern, (DateFormatSymbols)formatData.clone(), null, null, null, true, null); in SimpleDateFormat() 1055 public SimpleDateFormat(String pattern, DateFormatSymbols formatData, ULocale loc) in SimpleDateFormat() 1057 this(pattern, (DateFormatSymbols)formatData.clone(), null, null, loc, true,null); in SimpleDateFormat() 1066 … SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, ULocale locale, in SimpleDateFormat() 1068 …this(pattern, (DateFormatSymbols)formatData.clone(), (Calendar)calendar.clone(), null, locale, use… in SimpleDateFormat() 1074 private SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, in SimpleDateFormat() 1116 formatData = new DateFormatSymbols(locale); in initialize() 1545 FieldPosition pos, DateFormatSymbols fmtData, in subFormat() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateFormatSymbols.java | 86 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 …]
|
D | SimpleDateFormat.java | 886 private DateFormatSymbols formatData; 1038 public SimpleDateFormat(String pattern, DateFormatSymbols formatData) in SimpleDateFormat() 1040 this(pattern, (DateFormatSymbols)formatData.clone(), null, null, null, true, null); in SimpleDateFormat() 1049 public SimpleDateFormat(String pattern, DateFormatSymbols formatData, ULocale loc) in SimpleDateFormat() 1051 this(pattern, (DateFormatSymbols)formatData.clone(), null, null, loc, true,null); in SimpleDateFormat() 1060 … SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, ULocale locale, in SimpleDateFormat() 1062 …this(pattern, (DateFormatSymbols)formatData.clone(), (Calendar)calendar.clone(), null, locale, use… in SimpleDateFormat() 1068 private SimpleDateFormat(String pattern, DateFormatSymbols formatData, Calendar calendar, in SimpleDateFormat() 1111 formatData = new DateFormatSymbols(locale); in initialize() 1533 FieldPosition pos, DateFormatSymbols fmtData, in subFormat() [all …]
|