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

1 2 3 4

  /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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
IntlTestDateFormatSymbols.java 21 import com.ibm.icu.text.DateFormatSymbols;
35 DateFormatSymbols symbol;
37 symbol=new DateFormatSymbols(Locale.getDefault());
52 DateFormatSymbols symbol;
53 symbol=new DateFormatSymbols(Locale.getDefault());
55 int[] context = {DateFormatSymbols.STANDALONE, DateFormatSymbols.FORMAT};
56 int[] width = {DateFormatSymbols.WIDE, DateFormatSymbols.ABBREVIATED, DateFormatSymbols.NARROW}
    [all...]
DateFormatMiscTests.java 20 import com.ibm.icu.text.DateFormatSymbols;
24 * Performs miscellaneous tests for DateFormat, SimpleDateFormat, DateFormatSymbols
68 * SimpleDateFormat constructor SimpleDateFormat(String, DateFormatSymbols)
69 * should clone the DateFormatSymbols parameter
75 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US);
96 DateFormatSymbols symbols = new DateFormatSymbols(Locale.US);
130 DateFormatSymbols symbols = new DateFormatSymbols(Locale.JAPAN)
    [all...]
  /external/icu/icu4c/source/i18n/
shareddateformatsymbols.h 25 const DateFormatSymbols &get() const { return dfs; }
27 DateFormatSymbols dfs;
udat.cpp 594 const DateFormatSymbols *syms;
649 res = syms->getMonths(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW);
653 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::SHORT);
657 res = syms->getWeekdays(count, DateFormatSymbols::FORMAT, DateFormatSymbols::NARROW);
661 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::WIDE);
665 res = syms->getMonths(count, DateFormatSymbols::STANDALONE, DateFormatSymbols::ABBREVIATED)
    [all...]
dtfmtsym.cpp 46 // class DateFormatSymbols
180 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateFormatSymbols)
229 DateFormatSymbols * U_EXPORT2
230 DateFormatSymbols::createForLocale(
237 DateFormatSymbols *result = new DateFormatSymbols(shared->get());
246 DateFormatSymbols::DateFormatSymbols(const Locale& locale,
253 DateFormatSymbols::DateFormatSymbols(UErrorCode& status
    [all...]
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
DateFormatSymbolsProviderICU.java 9 import java.text.DateFormatSymbols;
19 public DateFormatSymbols getInstance(Locale locale) {
20 com.ibm.icu.text.DateFormatSymbols icuDfs = com.ibm.icu.text.DateFormatSymbols.getInstance(
  /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...]
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DateFormatSymbolsICU.java 9 import com.ibm.icu.text.DateFormatSymbols;
12 * DateFormatSymbolsICU is an adapter class which wraps ICU4J DateFormatSymbols and
13 * implements java.text.DateFormatSymbols APIs.
15 public class DateFormatSymbolsICU extends java.text.DateFormatSymbols {
19 private DateFormatSymbols fIcuDfs;
21 private DateFormatSymbolsICU(DateFormatSymbols icuDfs) {
25 public static java.text.DateFormatSymbols wrap(DateFormatSymbols icuDfs) {
29 public DateFormatSymbols unwrap() {
36 other.fIcuDfs = (DateFormatSymbols)this.fIcuDfs.clone()
    [all...]
CalendarICU.java 15 import com.ibm.icu.text.DateFormatSymbols;
121 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale);
137 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale);
296 private static String[] getFieldStrings(int field, int style, DateFormatSymbols dfs) {
316 private static Map<String,Integer> getFieldStringsMap(int field, int style, DateFormatSymbols dfs) {
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DateFormatSymbolsTest.java 9 import java.text.DateFormatSymbols;
24 for (Locale loc : DateFormatSymbols.getAvailableLocales()) {
30 DateFormatSymbols dfs = DateFormatSymbols.getInstance(loc);
36 errln("FAIL: getInstance returned JDK DateFormatSymbols for locale " + loc);
40 logln("INFO: getInstance returned ICU DateFormatSymbols for locale " + loc);
43 DateFormatSymbols dfsIcu = DateFormatSymbols.getInstance(iculoc);
46 errln("FAIL: getInstance returned ICU DateFormatSymbols for locale " + loc
51 errln("FAIL: getInstance returned JDK DateFormatSymbols for locale " + iculoc)
    [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/jetty/src/java/org/eclipse/jetty/io/
BufferDateCache.java 21 import java.text.DateFormatSymbols;
36 public BufferDateCache(String format, DateFormatSymbols s)
  /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/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 U_FINAL : 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...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
ChineseDateFormatSymbols.java 18 * A subclass of {@link DateFormatSymbols} for {@link ChineseDateFormat}.
28 public class ChineseDateFormatSymbols extends DateFormatSymbols {
111 void initializeData(DateFormatSymbols dfs) {
DateFormatSymbols.java 35 * {@icuenhanced java.text.DateFormatSymbols}.{@icu _usage_}
37 * <p><code>DateFormatSymbols</code> is a public class for encapsulating
41 * <code>DateFormatSymbols</code> to encapsulate this information.
43 * <p>Typically you shouldn't use <code>DateFormatSymbols</code> directly.
47 * These methods automatically create a <code>DateFormatSymbols</code> for
58 * new SimpleDateFormat(aPattern, new DateFormatSymbols(aLocale)).
62 * <p><code>DateFormatSymbols</code> objects are clonable. When you obtain
63 * a <code>DateFormatSymbols</code> object, feel free to modify the
69 * <p>New <code>DateFormatSymbols</code> subclasses may be added to support
78 public class DateFormatSymbols implements Serializable, Cloneable
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
PickerConstants.java 23 import java.text.DateFormatSymbols;
36 months = new DateFormatSymbols().getShortMonths();
  /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();

Completed in 621 milliseconds

1 2 3 4