/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 | 163 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()
|
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 | 25 import com.ibm.icu.text.DateFormatSymbols; 36 DateFormatSymbols symbol; in TestGetMonths() 38 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetMonths() 54 DateFormatSymbols symbol; in TestGetMonths2() 55 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetMonths2() 57 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT}; in TestGetMonths2() 58 … int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}; in TestGetMonths2() 76 DateFormatSymbols symbol; in TestGetWeekdays2() 77 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetWeekdays2() 79 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT}; in TestGetWeekdays2() [all …]
|
D | DateFormatMiscTests.java | 24 import com.ibm.icu.text.DateFormatSymbols; 76 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); in Test4099975new() 97 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); in Test4099975new() 132 DateFormatSymbols symbols = new DateFormatSymbols(Locale.JAPAN); in Test4117335()
|
D | IntlTestSimpleDateFormatAPI.java | 31 import com.ibm.icu.text.DateFormatSymbols; 59 DateFormatSymbols symbols = new DateFormatSymbols(Locale.FRENCH); in TestAPI() 112 final DateFormatSymbols syms = pat.getDateFormatSymbols(); in TestAPI()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDateFormatSymbols.java | 26 import android.icu.text.DateFormatSymbols; 37 DateFormatSymbols symbol; in TestGetMonths() 39 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetMonths() 55 DateFormatSymbols symbol; in TestGetMonths2() 56 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetMonths2() 58 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT}; in TestGetMonths2() 59 … int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}; in TestGetMonths2() 77 DateFormatSymbols symbol; in TestGetWeekdays2() 78 symbol=new DateFormatSymbols(Locale.getDefault()); in TestGetWeekdays2() 80 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT}; in TestGetWeekdays2() [all …]
|
D | DateFormatMiscTests.java | 25 import android.icu.text.DateFormatSymbols; 77 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); in Test4099975new() 98 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US); in Test4099975new() 133 DateFormatSymbols symbols = new DateFormatSymbols(Locale.JAPAN); in Test4117335()
|
D | IntlTestSimpleDateFormatAPI.java | 32 import android.icu.text.DateFormatSymbols; 60 DateFormatSymbols symbols = new DateFormatSymbols(Locale.FRENCH); in TestAPI() 113 final DateFormatSymbols syms = pat.getDateFormatSymbols(); in TestAPI()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | DateFormatSymbolsTest.java | 14 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 …]
|
D | SimpleDateFormatTest.java | 18 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/ |
D | udat.cpp | 596 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 …]
|
D | dtfmtsym.cpp | 195 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 …]
|
D | smpdtfmt.cpp | 409 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat() 430 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat() 455 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat() 478 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat() 489 DateFormatSymbols* symbolsToAdopt, in SimpleDateFormat() 511 const DateFormatSymbols& symbols, in SimpleDateFormat() 515 fSymbols(new DateFormatSymbols(symbols)), in SimpleDateFormat() 569 fSymbols = DateFormatSymbols::createForLocale(fLocale, status); in SimpleDateFormat() 575 fSymbols = new DateFormatSymbols(status); in SimpleDateFormat() 621 fSymbols = new DateFormatSymbols(*other.fSymbols); in operator =() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | DateFormatSymbols.java | 62 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/ |
D | DateFormatSymbolsTest.java | 11 import java.text.DateFormatSymbols; 25 for (Locale loc : DateFormatSymbols.getAvailableLocales()) { in TestGetInstance() 31 DateFormatSymbols dfs = DateFormatSymbols.getInstance(loc); in TestGetInstance() 44 DateFormatSymbols dfsIcu = DateFormatSymbols.getInstance(iculoc); in TestGetInstance() 74 DateFormatSymbols jdkDfs = DateFormatSymbols.getInstance(iculoc); in TestICUEquivalent() 75 … com.ibm.icu.text.DateFormatSymbols icuDfs = com.ibm.icu.text.DateFormatSymbols.getInstance(loc); in TestICUEquivalent() 93 DateFormatSymbols dfs = DateFormatSymbols.getInstance(new Locale("ja", "JP", "ICU")); in TestSetSymbols() 97 DateFormatSymbols dfsEnUS = DateFormatSymbols.getInstance(loc); in TestSetSymbols() 165 DateFormatSymbols dfs_nnNO = DateFormatSymbols.getInstance(nnNO); in TestNynorsk() 166 …DateFormatSymbols dfs_nnNO_ICU = DateFormatSymbols.getInstance(TestUtil.toICUExtendedLocale(nnNO)); in TestNynorsk() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtfmtsym.h | 81 class U_I18N_API DateFormatSymbols U_FINAL : public UObject { 96 DateFormatSymbols(UErrorCode& status); 108 DateFormatSymbols(const Locale& locale, 128 DateFormatSymbols(const char *type, UErrorCode& status); 143 DateFormatSymbols(const Locale& locale, 152 DateFormatSymbols(const DateFormatSymbols&); 158 DateFormatSymbols& operator=(const DateFormatSymbols&); 165 virtual ~DateFormatSymbols(); 174 UBool operator==(const DateFormatSymbols& other) const; 183 UBool operator!=(const DateFormatSymbols& other) const { return !operator==(other); } [all …]
|
D | smpdtfmt.h | 45 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); 1558 DateFormatSymbols* fSymbols; // Owned
|
/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() 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/ |
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/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 886 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() 1514 FieldPosition pos, DateFormatSymbols fmtData, in subFormat() [all …]
|
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 …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SimpleDateFormat.java | 886 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() 1502 FieldPosition pos, DateFormatSymbols fmtData, in subFormat() [all …]
|
D | DateFormatSymbols.java | 87 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 …]
|