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

1 2

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateTimeGeneratorTest.java 28 import android.icu.text.DateTimePatternGenerator;
29 import android.icu.text.DateTimePatternGenerator.FormatParser;
30 import android.icu.text.DateTimePatternGenerator.VariableField;
65 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale);
72 DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo();
93 DateTimePatternGenerator enGen = DateTimePatternGenerator.getInstance(ULocale.ENGLISH);
129 DateTimePatternGenerator rootGen = DateTimePatternGenerator.getInstance(ULocale.ROOT)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateTimeGeneratorTest.java 27 import com.ibm.icu.text.DateTimePatternGenerator;
28 import com.ibm.icu.text.DateTimePatternGenerator.FormatParser;
29 import com.ibm.icu.text.DateTimePatternGenerator.VariableField;
61 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale);
68 DateTimePatternGenerator.PatternInfo returnInfo = new DateTimePatternGenerator.PatternInfo();
89 DateTimePatternGenerator enGen = DateTimePatternGenerator.getInstance(ULocale.ENGLISH);
125 DateTimePatternGenerator rootGen = DateTimePatternGenerator.getInstance(ULocale.ROOT)
    [all...]
  /external/icu/icu4c/source/i18n/
udatpg.cpp 32 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(*pErrorCode);
34 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createInstance(Locale(locale), *pErrorCode);
40 return (UDateTimePatternGenerator *)DateTimePatternGenerator::createEmptyInstance(*pErrorCode);
45 delete (DateTimePatternGenerator *)dtpg;
53 return (UDateTimePatternGenerator *)(((const DateTimePatternGenerator *)dtpg)->clone());
80 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *pErrorCode);
97 UnicodeString result=DateTimePatternGenerator::staticGetSkeleton(
115 UnicodeString result=DateTimePatternGenerator::staticGetBaseSkeleton(
135 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)->
149 ((DateTimePatternGenerator *)dtpg)->setAppendItemFormat(field, valueString)
    [all...]
dtptngen.cpp 128 // class DateTimePatternGenerator
236 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(DateTimePatternGenerator)
240 DateTimePatternGenerator* U_EXPORT2
241 DateTimePatternGenerator::createInstance(UErrorCode& status) {
245 DateTimePatternGenerator* U_EXPORT2
246 DateTimePatternGenerator::createInstance(const Locale& locale, UErrorCode& status) {
250 LocalPointer<DateTimePatternGenerator> result(
251 new DateTimePatternGenerator(locale, status), status);
255 DateTimePatternGenerator* U_EXPORT2
256 DateTimePatternGenerator::createEmptyInstance(UErrorCode& status)
    [all...]
datefmt.cpp 75 fSkeleton(DateTimePatternGenerator::staticGetSkeleton(skeleton, status)) { }
101 LocalPointer<DateTimePatternGenerator> dtpg(
102 DateTimePatternGenerator::createInstance(fLoc, status));
dtitvfmt.cpp 617 fSkeleton = DateTimePatternGenerator::staticGetSkeleton(
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
dtptngen.h 50 class U_I18N_API DateTimePatternGenerator : public UObject {
58 static DateTimePatternGenerator* U_EXPORT2 createInstance(UErrorCode& status);
67 static DateTimePatternGenerator* U_EXPORT2 createInstance(const Locale& uLocale, UErrorCode& status);
76 static DateTimePatternGenerator* U_EXPORT2 internalMakeInstance(const Locale& uLocale, UErrorCode& status);
86 static DateTimePatternGenerator* U_EXPORT2 createEmptyInstance(UErrorCode& status);
92 virtual ~DateTimePatternGenerator();
95 * Clone DateTimePatternGenerator object. Clients are responsible for
96 * deleting the DateTimePatternGenerator object cloned.
99 DateTimePatternGenerator* clone() const;
104 * @param other the DateTimePatternGenerator object to be compared with
    [all...]
datefmt.h 42 class DateTimePatternGenerator;
    [all...]
  /external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DateTimePatternGeneratorSample.java 8 package android.icu.samples.text.datetimepatterngenerator;
13 import android.icu.text.DateTimePatternGenerator;
20 * android.icu.text.DateTimePatternGenerator Sample Code
34 System.out.println(" Use DateTimePatternGenerator to create customized date/time pattern:");
50 DateTimePatternGenerator dtfg = null;
56 // create a DateTimePatternGenerator instance for given locale
57 dtfg = DateTimePatternGenerator.getInstance(locale);
122 // Create an DateTimePatternGenerator instance for the given locale
123 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale)
    [all...]
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DateTimePatternGeneratorSample.java 7 package com.ibm.icu.samples.text.datetimepatterngenerator;
12 import com.ibm.icu.text.DateTimePatternGenerator;
19 * com.ibm.icu.text.DateTimePatternGenerator Sample Code
33 System.out.println(" Use DateTimePatternGenerator to create customized date/time pattern:");
49 DateTimePatternGenerator dtfg = null;
55 // create a DateTimePatternGenerator instance for given locale
56 dtfg = DateTimePatternGenerator.getInstance(locale);
121 // Create an DateTimePatternGenerator instance for the given locale
122 DateTimePatternGenerator gen = DateTimePatternGenerator.getInstance(locale)
    [all...]
  /libcore/luni/src/main/java/libcore/icu/
DateTimeFormat.java 20 import android.icu.text.DateTimePatternGenerator;
50 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(icuLocale);
  /external/icu/icu4c/source/samples/dtptngsample/
dtptngsample.cpp 20 u_printf(" Use DateTimePatternGenerator to create customized date/time pattern:\n");
51 // create a DateTimePatternGenerator instance for given locale
52 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status);
87 // Create an DateTimePatternGenerator instance for the given locale
88 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status);
129 DateTimePatternGenerator *dtfg = DateTimePatternGenerator::createInstance(locale,status);
  /external/icu/icu4c/source/test/intltest/
dtptngts.cpp 40 * Test various generic API methods of DateTimePatternGenerator for API coverage.
363 logln("Testing DateTimePatternGenerator createInstance from default locale");
365 DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status);
367 dataerrln("ERROR: Could not create DateTimePatternGenerator (default) - exitting");
375 logln("Testing DateTimePatternGenerator createInstance from French locale");
377 DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrench(), status);
379 dataerrln("ERROR: Could not create DateTimePatternGenerator (Locale::getFrench()) - exitting");
383 // ======= Test clone DateTimePatternGenerator
    [all...]
uobjtest.cpp 365 TESTCLASSID_FACTORY(DateTimePatternGenerator, DateTimePatternGenerator::createInstance(status));
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateTimePatternGenerator.java 51 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable {
61 public static DateTimePatternGenerator getEmptyInstance() {
62 return new DateTimePatternGenerator();
68 protected DateTimePatternGenerator() {
75 public static DateTimePatternGenerator getInstance() {
83 public static DateTimePatternGenerator getInstance(ULocale uLocale) {
91 public static DateTimePatternGenerator getInstance(Locale locale) {
96 * Construct a frozen instance of DateTimePatternGenerator for a
98 * DateTimePatternGenerator, so less expensive than the regula
    [all...]
DateIntervalFormat.java 456 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale);
547 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale);
    [all...]
DateFormat.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateTimePatternGenerator.java 51 public class DateTimePatternGenerator implements Freezable<DateTimePatternGenerator>, Cloneable {
62 public static DateTimePatternGenerator getEmptyInstance() {
63 return new DateTimePatternGenerator();
70 protected DateTimePatternGenerator() {
78 public static DateTimePatternGenerator getInstance() {
87 public static DateTimePatternGenerator getInstance(ULocale uLocale) {
96 public static DateTimePatternGenerator getInstance(Locale locale) {
101 * Construct a frozen instance of DateTimePatternGenerator for a
103 * DateTimePatternGenerator, so less expensive than the regula
    [all...]
DateIntervalFormat.java 458 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale);
552 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale);
    [all...]
DateFormat.java     [all...]
  /frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
ICU_Delegate.java 21 import android.icu.text.DateTimePatternGenerator;
53 return DateTimePatternGenerator.getInstance(new ULocale(localeName))
  /external/icu/icu4c/source/test/perf/DateFmtPerf/
DateFmtPerf.h 440 DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2));
483 DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2));
486 DateTimePatternGenerator *cl = gen->clone();
530 DateTimePatternGenerator* gen(DateTimePatternGenerator::createInstance(loc, status2));
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
HolidayCalendarDemo.java 40 import com.ibm.icu.text.DateTimePatternGenerator;
332 final String pattern = DateTimePatternGenerator.
  /external/v8/src/
i18n.cc 115 icu::DateTimePatternGenerator* generator =
116 icu::DateTimePatternGenerator::createInstance(icu_locale, status);
    [all...]
  /libcore/luni/src/main/native/
libcore_icu_ICU.cpp 757 std::unique_ptr<icu::DateTimePatternGenerator> generator(icu::DateTimePatternGenerator::createInstance(icuLocale.locale(), status));
758 if (maybeThrowIcuException(env, "DateTimePatternGenerator::createInstance", status)) {
767 if (maybeThrowIcuException(env, "DateTimePatternGenerator::getBestPattern", status)) {
    [all...]

Completed in 6116 milliseconds

1 2