/external/chromium_org/third_party/icu/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/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...] |
/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/chromium_org/third_party/icu/source/i18n/ |
udat.cpp | 431 const DateFormatSymbols *syms; 486 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); 490 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::SHORT); 494 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); 498 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE); 502 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 | 26 class DateFormatSymbols; 233 virtual const DateFormatSymbols* getDateFormatSymbols(void) const;
|
smpdtfmt.cpp | 17 * Removed getZoneIndex (added in DateFormatSymbols) 351 DateFormatSymbols* symbolsToAdopt, 374 const DateFormatSymbols& symbols, 378 fSymbols(new DateFormatSymbols(symbols)), 439 fSymbols = new DateFormatSymbols(status); 486 fSymbols = new DateFormatSymbols(*other.fSymbols); 664 // setTo() - see DateFormatSymbols::assignArray comments 747 fSymbols = new DateFormatSymbols(locale, calendar?calendar->getType() :NULL , status); [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;
|
/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 | 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) 41 class DateFormatSymbols; [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();
|