HomeSort by relevance Sort by last modified time
    Searched refs:DateFormatSymbols (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/icu4c/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);
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/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...]
SimpleDateFormatTest.java 20 import java.text.DateFormatSymbols;
116 new DateFormatSymbols()));
132 new DateFormatSymbols()));
156 * java.text.DateFormatSymbols)
160 // java.text.DateFormatSymbols)
161 DateFormatSymbols symbols = new DateFormatSymbols(Locale.ENGLISH);
183 new DateFormatSymbols(Locale.GERMAN)));
564 // Test for method java.text.DateFormatSymbols
567 DateFormatSymbols dfs = df.getDateFormatSymbols()
    [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...]
OldSimpleDateFormatTest.java 20 import java.text.DateFormatSymbols;
92 * java.text.DateFormatSymbols)
96 // java.text.DateFormatSymbols)
97 DateFormatSymbols symbols = new DateFormatSymbols(Locale.ENGLISH);
129 new DateFormatSymbols(Locale.GERMAN)));
225 DateFormatSymbols symbols = new DateFormatSymbols(Locale.ENGLISH);
479 // java.text.SimpleDateFormat.setDateFormatSymbols(java.text.DateFormatSymbols)
481 DateFormatSymbols symbols = new DateFormatSymbols()
    [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::NARROW);
494 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE);
498 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED);
502 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::NARROW)
    [all...]
dtfmtsym.cpp 42 // class DateFormatSymbols
149 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols)
192 DateFormatSymbols::DateFormatSymbols(const Locale& locale,
199 DateFormatSymbols::DateFormatSymbols(UErrorCode& status)
206 DateFormatSymbols::DateFormatSymbols(const Locale& locale,
214 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)
342 DateFormatSymbols* symbolsToAdopt,
364 const DateFormatSymbols& symbols,
368 fSymbols(new DateFormatSymbols(symbols)),
427 fSymbols = new DateFormatSymbols(status);
471 fSymbols = new DateFormatSymbols(*other.fSymbols);
649 // setTo() - see DateFormatSymbols::assignArray comments
732 fSymbols = new DateFormatSymbols(locale, calendar?calendar->getType() :NULL , 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);
94 DateFormatSymbols d = new DateFormatSymbols(l);
  /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...]
smpdtfmt.h 17 * Removed getZoneIndex (added in DateFormatSymbols)
41 class DateFormatSymbols;
323 * symbol data. The formatter takes ownership of the DateFormatSymbols object;
331 DateFormatSymbols* formatDataToAdopt,
336 * symbol data. The DateFormatSymbols object is NOT adopted; the caller
344 const DateFormatSymbols& formatData,
    [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...]
SimpleDateFormat.java 217 private DateFormatSymbols formatData;
231 this.formatData = new DateFormatSymbols(Locale.getDefault());
236 * non-localized pattern and the {@code DateFormatSymbols} and {@code
329 * non-localized pattern and {@code DateFormatSymbols} and the {@code
336 * the DateFormatSymbols.
342 public SimpleDateFormat(String template, DateFormatSymbols value) {
346 formatData = (DateFormatSymbols) value.clone();
351 * non-localized pattern and the {@code DateFormatSymbols} and {@code
367 formatData = new DateFormatSymbols(locale);
414 clone.formatData = (DateFormatSymbols) formatData.clone()
    [all...]
  /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 551 // Get DateFormatSymbols.
553 DateFormatSymbols dateFormatSym(locale, status);
566 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::WIDE);
569 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::ABBREVIATED);
572 dateFormatSym.getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW);
575 dateFormatSym.getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::WIDE)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
RepeatPreference.java 25 import java.text.DateFormatSymbols;
39 String[] weekdays = new DateFormatSymbols().getWeekdays();
  /dalvik/tests/092-locale/src/
Main.java 18 import java.text.DateFormatSymbols;
102 DateFormatSymbols syms = DateFormatSymbols.getInstance(usa);
  /libcore/benchmarks/src/benchmarks/regression/
ExpensiveObjectsBenchmark.java 68 new DateFormatSymbols(Locale.US);
73 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
AmPmCirclesView.java 30 import java.text.DateFormatSymbols;
89 String[] amPmTexts = new DateFormatSymbols().getAmPmStrings();

Completed in 437 milliseconds

1 2 3