/external/icu4c/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/main/java/java/text/spi/ |
DateFormatSymbolsProvider.java | 20 import java.text.DateFormatSymbols; 26 * instances of {@code DateFormatSymbols}. 40 * Returns an instance of {@code DateFormatSymbols} for the given locale. 43 * @return an instance of {@code DateFormatSymbols} 49 public abstract DateFormatSymbols getInstance(Locale locale);
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
MockedDateFormatSymbolsProvider.java | 20 import java.text.DateFormatSymbols; 28 public DateFormatSymbols getInstance(Locale locale) { 44 public static class MockedDateFormatSymbols extends DateFormatSymbols {
|
DateFormatSymbolsTest.java | 25 import java.text.DateFormatSymbols; 34 private DateFormatSymbols dfs; 37 * @tests java.text.DateFormatSymbols#DateFormatSymbols() 40 // Test for method java.text.DateFormatSymbols() 42 new DateFormatSymbols(); 46 * @tests java.text.DateFormatSymbols#DateFormatSymbols(java.util.Locale) 49 // Test for method java.text.DateFormatSymbols(java.util.Locale) 50 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...] |
/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); 51 DateFormatSymbols originalDfs = new DateFormatSymbols(pl); 60 DateFormatSymbols deserializedDfs = (DateFormatSymbols) in.readObject(); 71 // contain the locale or the necessary strings. Don't serialize DateFormatSymbols, folks! 76 private String formatDate(Locale l, String fmt, DateFormatSymbols dfs) [all...] |
/external/icu4c/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) 346 DateFormatSymbols* symbolsToAdopt, 368 const DateFormatSymbols& symbols, 372 fSymbols(new DateFormatSymbols(symbols)), 431 fSymbols = new DateFormatSymbols(status); 475 fSymbols = new DateFormatSymbols(*other.fSymbols); 653 // setTo() - see DateFormatSymbols::assignArray comments 736 fSymbols = new DateFormatSymbols(locale, calendar?calendar->getType() :NULL , status); [all...] |
/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); 93 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/icu4c/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...] |
/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 { 89 * Constructs a new {@code DateFormatSymbols} instance containing the 93 public DateFormatSymbols() { 98 * Constructs a new {@code DateFormatSymbols} instance containing the 104 public DateFormatSymbols(Locale locale) { 118 * 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 | 27 import java.text.DateFormatSymbols; 31 private static String[] sMonthNames = DateFormatSymbols.getInstance().getShortMonths(); 42 sMonthNames = DateFormatSymbols.getInstance(sLocale).getShortMonths();
|
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 516 // Get DateFormatSymbols. 518 DateFormatSymbols dateFormatSym(locale, status); 531 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::WIDE); 534 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::ABBREVIATED); 537 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW); 540 dateFormatSym.getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::WIDE) [all...] |