/external/icu/icu4c/source/test/intltest/ |
tsdtfmsy.cpp | 22 if (exec) logln("TestSuite DateFormatSymbols"); 42 DateFormatSymbols *symbol; 44 symbol=new DateFormatSymbols(Locale::getDefault(), status); 61 DateFormatSymbols *symbol; 63 symbol=new DateFormatSymbols(Locale::getDefault(), status); 65 DateFormatSymbols::DtContextType context[] = {DateFormatSymbols::STANDALONE, DateFormatSymbols::FORMAT}; 66 DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED, DateFormatSymbols::NARROW} [all...] |
miscdtfm.cpp | 154 * const DateFormatSymbols & formatData, UErrorCode & status ) 155 * The DateFormatSymbols object is NOT adopted; Modifying the original DateFormatSymbols 161 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); 163 dataerrln("Unable to create DateFormatSymbols - %s", u_errorName(status)); 191 * Test void SimpleDateFormat::setDateFormatSymbols ( const DateFormatSymbols & newFormatSymbols ) 192 * Modifying the original DateFormatSymbols should not change the SimpleDateFormat's behavior. 196 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status) [all...] |
sdtfmtts.cpp | 77 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getFrench(), status); 79 errln("ERROR: Could not create DateFormatSymbols (French)"); 178 const DateFormatSymbols *syms = pat.getDateFormatSymbols(); 180 errln("Couldn't obtain DateFormatSymbols. Quitting test!"); 183 if(syms->getDynamicClassID() != DateFormatSymbols::getStaticClassID()) { 184 errln("ERROR: format->getDateFormatSymbols()->getDynamicClassID() != DateFormatSymbols::getStaticClassID()"); 186 DateFormatSymbols *newSyms = new DateFormatSymbols(*syms); 190 errln("ERROR: adopt or set DateFormatSymbols() failed") [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tsdtfmsy.cpp | 22 if (exec) logln("TestSuite DateFormatSymbols"); 41 DateFormatSymbols *symbol; 43 symbol=new DateFormatSymbols(Locale::getDefault(), status); 60 DateFormatSymbols *symbol; 62 symbol=new DateFormatSymbols(Locale::getDefault(), status); 64 DateFormatSymbols::DtContextType context[] = {DateFormatSymbols::STANDALONE, DateFormatSymbols::FORMAT}; 65 DateFormatSymbols::DtWidthType width[] = {DateFormatSymbols::WIDE, DateFormatSymbols::ABBREVIATED, DateFormatSymbols::NARROW} [all...] |
miscdtfm.cpp | 154 * const DateFormatSymbols & formatData, UErrorCode & status ) 155 * The DateFormatSymbols object is NOT adopted; Modifying the original DateFormatSymbols 161 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); 162 if(failure(status, "new DateFormatSymbols")) return; 188 * Test void SimpleDateFormat::setDateFormatSymbols ( const DateFormatSymbols & newFormatSymbols ) 189 * Modifying the original DateFormatSymbols should not change the SimpleDateFormat's behavior. 193 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status) [all...] |
sdtfmtts.cpp | 77 DateFormatSymbols *symbols = new DateFormatSymbols(Locale::getFrench(), status); 79 errln("ERROR: Could not create DateFormatSymbols (French)"); 178 const DateFormatSymbols *syms = pat.getDateFormatSymbols(); 180 errln("Couldn't obtain DateFormatSymbols. Quitting test!"); 183 if(syms->getDynamicClassID() != DateFormatSymbols::getStaticClassID()) { 184 errln("ERROR: format->getDateFormatSymbols()->getDynamicClassID() != DateFormatSymbols::getStaticClassID()"); 186 DateFormatSymbols *newSyms = new DateFormatSymbols(*syms); 190 errln("ERROR: adopt or set DateFormatSymbols() failed") [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatSymbolsTest.java | 23 import java.text.DateFormatSymbols; 33 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale); 34 assertEquals(DateFormatSymbols.getInstance(Locale.ROOT), dfs); 50 // the DateFormatSymbols after deserialization. See http://b/16502916 55 DateFormatSymbols originalDfs = new DateFormatSymbols(pl); 64 DateFormatSymbols deserializedDfs = (DateFormatSymbols) in.readObject(); 79 private String formatDate(Locale l, String fmt, DateFormatSymbols dfs) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
DateFormatSymbolsTest.java | 23 import java.text.DateFormatSymbols; 29 private DateFormatSymbols dfs; 32 * @tests java.text.DateFormatSymbols#DateFormatSymbols() 35 // Test for method java.text.DateFormatSymbols() 37 new DateFormatSymbols(); 41 * @tests java.text.DateFormatSymbols#DateFormatSymbols(java.util.Locale) 44 // Test for method java.text.DateFormatSymbols(java.util.Locale) 45 new DateFormatSymbols(new Locale("en", "us")) [all...] |
DateFormatTest.java | 20 import java.text.DateFormatSymbols; 80 new DateFormatSymbols())); 98 new DateFormatSymbols())); 107 new DateFormatSymbols())); 116 new DateFormatSymbols())); 125 new DateFormatSymbols())); 146 new DateFormatSymbols(Locale.GERMAN))); 154 new DateFormatSymbols(Locale.GERMAN))); 162 new DateFormatSymbols(Locale.GERMAN))); 170 new DateFormatSymbols(Locale.GERMAN))) [all...] |
/external/icu/icu4c/source/i18n/ |
udat.cpp | 434 const DateFormatSymbols *syms; 489 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); 493 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::SHORT); 497 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); 501 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); 505 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED) [all...] |
dtfmtsym.cpp | 42 // class DateFormatSymbols 150 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols) 194 DateFormatSymbols::DateFormatSymbols(const Locale& locale, 201 DateFormatSymbols::DateFormatSymbols(UErrorCode& status) 208 DateFormatSymbols::DateFormatSymbols(const Locale& locale, 216 DateFormatSymbols::DateFormatSymbols(const char *type, UErrorCode& status [all...] |
reldtfmt.h | 27 class DateFormatSymbols; 234 virtual const DateFormatSymbols* getDateFormatSymbols(void) const;
|
/external/chromium_org/third_party/icu/source/i18n/ |
udat.cpp | 391 const DateFormatSymbols *syms = 438 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); 442 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); 446 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); 450 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED); 454 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW) [all...] |
dtfmtsym.cpp | 42 // class DateFormatSymbols 173 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols) 209 DateFormatSymbols::DateFormatSymbols(const Locale& locale, 216 DateFormatSymbols::DateFormatSymbols(UErrorCode& status) 223 DateFormatSymbols::DateFormatSymbols(const Locale& locale, 231 DateFormatSymbols::DateFormatSymbols(const char *type, UErrorCode& status [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidLocaleTest.java | 20 import java.text.DateFormatSymbols; 51 DateFormatSymbols engSymbols = new DateFormatSymbols(eng); 54 DateFormatSymbols deuSymbols = new DateFormatSymbols(deu); 99 DateFormatSymbols d = new DateFormatSymbols(l);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
dtfmtsym.h | 44 * DateFormatSymbols is a public class for encapsulating localizable date-time 45 * formatting data -- including timezone data. DateFormatSymbols is used by 48 * Rather than first creating a DateFormatSymbols to get a date-time formatter 60 * new DateFormatSymbols(aLocale)). This will load the appropriate date-time 63 * DateFormatSymbols objects are clonable. When clients obtain a 64 * DateFormatSymbols object, they can feel free to modify the date-time 70 * DateFormatSymbols are not expected to be subclassed. Data for a calendar is 80 class U_I18N_API DateFormatSymbols : public UObject { 83 * Construct a DateFormatSymbols object by loading format data from 95 DateFormatSymbols(UErrorCode& status) [all...] |
smpdtfmt.h | 17 * Removed getZoneIndex (added in DateFormatSymbols) 40 class DateFormatSymbols; 311 * symbol data. The formatter takes ownership of the DateFormatSymbols object; 319 DateFormatSymbols* formatDataToAdopt, 324 * symbol data. The DateFormatSymbols object is NOT adopted; the caller 332 const DateFormatSymbols& formatData, 676 virtual const DateFormatSymbols* getDateFormatSymbols(void) const; 680 * DateFormatSymbols object and should not delete it after making this call. 684 virtual void adoptDateFormatSymbols(DateFormatSymbols* newFormatSymbols); 691 virtual void setDateFormatSymbols(const DateFormatSymbols& newFormatSymbols) [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dtfmtsym.h | 43 * DateFormatSymbols is a public class for encapsulating localizable date-time 44 * formatting data -- including timezone data. DateFormatSymbols is used by 47 * Rather than first creating a DateFormatSymbols to get a date-time formatter 59 * new DateFormatSymbols(aLocale)). This will load the appropriate date-time 62 * DateFormatSymbols objects are clonable. When clients obtain a 63 * DateFormatSymbols object, they can feel free to modify the date-time 69 * DateFormatSymbols are not expected to be subclassed. Data for a calendar is 79 class U_I18N_API DateFormatSymbols : public UObject { 82 * Construct a DateFormatSymbols object by loading format data from 94 DateFormatSymbols(UErrorCode& status) [all...] |
smpdtfmt.h | 17 * Removed getZoneIndex (added in DateFormatSymbols) 43 class DateFormatSymbols; [all...] |
/libcore/luni/src/main/java/java/text/ |
DateFormatSymbols.java | 35 * {@code DateFormatSymbols} to encapsulate this information. 37 * <p>Typically you shouldn't use {@code DateFormatSymbols} directly. Rather, you 41 * {@code DateFormatSymbols} for the formatter so that you don't have to. After 46 * <p>Direct use of {@code DateFormatSymbols} is likely to be less efficient 53 public class DateFormatSymbols implements Serializable, Cloneable { 87 * Constructs a new {@code DateFormatSymbols} instance containing the 91 public DateFormatSymbols() { 96 * Constructs a new {@code DateFormatSymbols} instance containing the 102 public DateFormatSymbols(Locale locale) { 116 * Returns a new {@code DateFormatSymbols} instance for the user's default locale [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
DaysOfWeek.java | 23 import java.text.DateFormatSymbols; 101 DateFormatSymbols dfs = new DateFormatSymbols();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
DateTileView.java | 28 import java.text.DateFormatSymbols; 35 private static String[] sMonthNames = DateFormatSymbols.getInstance().getShortMonths(); 46 sMonthNames = DateFormatSymbols.getInstance(sLocale).getShortMonths();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
PickerConstant.java | 23 import java.text.DateFormatSymbols; 46 months = new DateFormatSymbols().getShortMonths();
|
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 602 // Get DateFormatSymbols. 604 DateFormatSymbols dateFormatSym(icuLocale.locale(), status); 617 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::WIDE); 620 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::ABBREVIATED); 623 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); 626 dateFormatSym.getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::WIDE) [all...] |
/art/test/092-locale/src/ |
Main.java | 18 import java.text.DateFormatSymbols; 102 DateFormatSymbols syms = DateFormatSymbols.getInstance(usa);
|