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

1 2 3

  /libcore/luni/src/main/java/libcore/icu/
DateTimeFormat.java 45 String skeleton = DateUtilsBridge.toSkeleton(time, flags); local
46 String key = skeleton + "\t" + icuLocale + "\t" + time.getTimeZone();
51 formatter = new SimpleDateFormat(generator.getBestPattern(skeleton), icuLocale);
DateIntervalFormat.java 53 // skeleton instead of int flags.)
76 String skeleton = DateUtilsBridge.toSkeleton(startCalendar, endCalendar, flags); local
79 getFormatter(skeleton, icuLocale, icuTimeZone);
85 private static android.icu.text.DateIntervalFormat getFormatter(String skeleton, ULocale locale,
87 String key = skeleton + "\t" + locale + "\t" + icuTimeZone;
92 formatter = android.icu.text.DateIntervalFormat.getInstance(skeleton, locale);
  /external/javassist/src/main/javassist/
CtNewConstructor.java 176 public static CtConstructor skeleton(CtClass[] parameters, method in class:CtNewConstructor
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmUtils.java 40 final String skeleton = DateFormat.is24HourFormat(context) ? "EHm" : "Ehma"; local
41 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton);
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeVoiceActivity.java 111 String skeleton = DateFormat.is24HourFormat(this, UserHandle.myUserId()) ? "Hm" : "hma"; local
112 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton);
  /external/bison/src/
getargs.c 80 const char *skeleton = NULL; variable
196 "muscles - m4 definitions passed to the skeleton",
199 "skeleton - skeleton postprocessing",
332 -S, --skeleton=FILE specify the skeleton to use\n\
446 | --skeleton and --language handling. |
455 skeleton = arg;
458 complain_at (loc, _("multiple skeleton declarations are invalid"));
568 { "skeleton", required_argument, 0, 'S' }
    [all...]
getargs.h 31 extern char const *skeleton;
66 char skeleton[sizeof "java-skel.m4"]; member in struct:bison_language
106 trace_skeleton = 1 << 9, /**< Skeleton postprocessing. */
  /external/icu/icu4c/source/test/intltest/
dtifmtts.cpp 67 /* ====== Test create interval instance with default locale and skeleton
70 logln("Testing DateIntervalFormat create instance with default locale and skeleton");
74 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + default locale) - exitting");
81 /* ====== Test create interval instance with given locale and skeleton
84 logln("Testing DateIntervalFormat create instance with given locale and skeleton");
88 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + locale) - exitting");
95 /* ====== Test create interval instance with dateIntervalInfo and skeleton
98 logln("Testing DateIntervalFormat create instance with dateIntervalInfo and skeleton");
106 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + DateIntervalInfo + default locale) - exitting");
113 /* ====== Test create interval instance with dateIntervalInfo and skeleton
1372 UnicodeString skeleton[] = { local
    [all...]
dtptngts.cpp 563 logln(UnicodeString(" ja locale with skeleton: YYYYMMM Best Pattern:") + bPattern);
1078 UnicodeString skeleton = DateTimePatternGenerator::staticGetSkeleton(testData[i], status); local
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cdateintervalformattest.c 43 const char * skeleton; member in struct:__anon20275
83 u_unescape(testItemPtr->skeleton, skelBuf, kSkelBufLen);
102 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n",
103 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to,
107 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n",
108 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) );
112 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
113 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) );
257 const char * skeleton; member in struct:__anon20279
285 ulen = u_unescape(locSkelItemPtr->skeleton, ubuf, kSizeUBuf)
    [all...]
udatpg_test.c 72 static const UChar skeleton[]= {0x4d, 0x4d, 0x4d, 0x64, 0}; /* MMMd */ variable
158 /* Test skeleton == NULL */
162 log_err("udatpg_getBestPattern failed in illegal argument - skeleton is NULL.\n");
305 /* Get all skeletons and the crroespong pattern for each skeleton. */
352 length = udatpg_getBestPattern(generator, skeleton, 4,
429 log_err("ERROR udatpg_getBestPatternWithOptions, locale %s, skeleton %s, options 0x%04X, expected pattern %s, got %s, status %d\n",
  /external/v8/src/
i18n.cc 121 // Make formatter from skeleton. Calendar and numbering system are added
124 icu::UnicodeString skeleton; local
125 if (ExtractStringSetting(isolate, options, "skeleton", &skeleton)) {
130 pattern = generator->getBestPattern(skeleton, status);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/datepicker/
DatePicker.java 207 String skeleton = mHasYear ? "yyyyMMMdd" : "MMMdd"; local
208 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton);
  /external/icu/icu4c/source/i18n/
dtitvinf.cpp 84 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton,
90 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status);
91 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status);
94 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status);
96 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status);
180 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton,
188 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton);
271 // Process the skeleton
282 * Processes the patterns for a skeleton table
287 // Iterate over all the patterns in the current skeleton tabl
597 UnicodeString* skeleton = (UnicodeString*)keyTok.pointer; local
    [all...]
dtitvfmt.cpp 76 DateIntervalFormat::createInstance(const UnicodeString& skeleton,
78 return createInstance(skeleton, Locale::getDefault(), status);
83 DateIntervalFormat::createInstance(const UnicodeString& skeleton,
90 skeleton.extract(0, skeleton.length(), result, "UTF-8");
94 sprintf(mesg, "skeleton: %s; pattern: %s\n", result, result_1);
99 return create(locale, dtitvinf, &skeleton, status);
105 DateIntervalFormat::createInstance(const UnicodeString& skeleton,
108 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status);
113 DateIntervalFormat::createInstance(const UnicodeString& skeleton,
737 UnicodeString skeleton = fSkeleton; local
947 const UnicodeString* skeleton; local
    [all...]
dtptngen_impl.h 117 // A compact storage mechanism for skeleton field strings. Several dozen of these will be created
174 PtnSkeleton *skeleton; member in class:PtnElem
225 PtnSkeleton skeleton; member in class:DateTimeMatcher
230 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton);
231 void copyFrom(const PtnSkeleton& skeleton);
247 void add(const UnicodeString& basePattern, const PtnSkeleton& skeleton, const UnicodeString& value, UBool skeletonWasSpecified, UErrorCode& status);
249 const UnicodeString* getPatternFromSkeleton(PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr = 0);
255 PtnElem* getDuplicateElem(const UnicodeString &basePattern, const PtnSkeleton& skeleton, PtnElem *baseElem);
  /frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardStatusView.java 235 String skeleton = DateFormat.is24HourFormat(context, ActivityManager.getCurrentUser()) local
238 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton);
307 // CLDR insists on adding an AM/PM indicator even though it wasn't in the skeleton
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateIntervalFormat.java 68 * from (skeleton, the_largest_different_calendar_field)
72 * A skeleton
89 * letter length in skeleton.
112 * There is a set of pre-defined static skeleton strings in DateFormat,
115 * For example, for a skeleton YEAR_ABBR_MONTH_DAY, which is "yMMMd",
125 * For date skeleton, the interval patterns when year, or month, or date is
127 * For time skeleton, the interval patterns when am/pm, or hour, or minute is
131 * If a skeleton is not found in a locale's DateIntervalInfo, which means
132 * the interval patterns for the skeleton is not defined in resource file,
174 * create an instance using default or given locale plus given skeleton
290 final String skeleton; field in class:DateIntervalFormat.SkeletonAndItsBestMatch
1094 String skeleton = fSkeleton; local
1503 String skeleton; local
    [all...]
DateIntervalInfo.java 47 * formatter when user pass in skeleton and locale.
56 * from (skeleton, the_largest_different_calendar_field)
60 * A skeleton
77 * letter length in skeleton.
95 * There is a set of pre-defined static skeleton strings.
98 * For example, for a skeleton YEAR_ABBR_MONTH_DAY, which is "yMMMd",
108 * For date skeleton, the interval patterns when year, or month, or date is
110 * For time skeleton, the interval patterns when am/pm, or hour, or minute is
126 * but for skeleton "yMMMd", the interval pattern when day is different is
128 * pattern is the earlier date. But for skeleton "yMMMd", when day is different
958 String skeleton = skeletonEntry.getKey(); local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateIntervalFormat.java 67 * from (skeleton, the_largest_different_calendar_field)
71 * A skeleton
88 * letter length in skeleton.
111 * There is a set of pre-defined static skeleton strings in DateFormat,
114 * For example, for a skeleton YEAR_ABBR_MONTH_DAY, which is "yMMMd",
124 * For date skeleton, the interval patterns when year, or month, or date is
126 * For time skeleton, the interval patterns when am/pm, or hour, or minute is
130 * If a skeleton is not found in a locale's DateIntervalInfo, which means
131 * the interval patterns for the skeleton is not defined in resource file,
173 * create an instance using default or given locale plus given skeleton
291 final String skeleton; field in class:DateIntervalFormat.SkeletonAndItsBestMatch
1107 String skeleton = fSkeleton; local
1516 String skeleton; local
    [all...]
DateIntervalInfo.java 46 * formatter when user pass in skeleton and locale.
55 * from (skeleton, the_largest_different_calendar_field)
59 * A skeleton
76 * letter length in skeleton.
94 * There is a set of pre-defined static skeleton strings.
97 * For example, for a skeleton YEAR_ABBR_MONTH_DAY, which is "yMMMd",
107 * For date skeleton, the interval patterns when year, or month, or date is
109 * For time skeleton, the interval patterns when am/pm, or hour, or minute is
125 * but for skeleton "yMMMd", the interval pattern when day is different is
127 * pattern is the earlier date. But for skeleton "yMMMd", when day is different
973 String skeleton = skeletonEntry.getKey(); local
    [all...]
  /frameworks/base/core/java/android/widget/
TimePickerSpinnerDelegate.java 250 "hm" /* skeleton */);
260 * We pass the correct "skeleton" depending on 12 or 24 hours view and then extract the
264 final String skeleton = (mIs24HourView) ? "Hm" : "hm"; local
266 skeleton);
  /packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetProvider.java 456 final String skeleton = context.getString(R.string.abbrev_wday_month_day_no_year); local
457 return DateFormat.getBestDateTimePattern(locale, skeleton);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateIntervalFormatTest.java 60 // followed by a group of locale/from_data/to_data/skeleton/interval_data
70 // test skeleton with both date and time
987 String[] skeleton = { local
1776 public String skeleton; field in class:DateIntervalFormatTest.LocaleAndSkeletonItem
    [all...]
DateTimeGeneratorTest.java 68 String skeleton = test[1]; local
69 String pattern = gen.getBestPattern(skeleton);
70 assertEquals(test[0] + "/" + skeleton, test[2], pattern);
140 assertEquals("Testing skeleton '" + testSkeleton + "' with " + sampleDate, tests[i][1], formattedDate);
1277 public String skeleton; field in class:DateTimeGeneratorTest.TestOptionsItem
1430 String skeleton = new String(skelBuf, 0, skelLen); local
1547 String skeleton = "GrMMd"; local
    [all...]

Completed in 678 milliseconds

1 2 3