/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DateIntervalFormat.java | 73 * from (skeleton, the_largest_different_calendar_field) 77 * A skeleton 94 * letter length in skeleton. 117 * There is a set of pre-defined static skeleton strings in DateFormat, 120 * For example, for a skeleton YEAR_ABBR_MONTH_DAY, which is "yMMMd", 130 * For date skeleton, the interval patterns when year, or month, or date is 132 * For time skeleton, the interval patterns when am/pm, or hour, or minute is 136 * If a skeleton is not found in a locale's DateIntervalInfo, which means 137 * the interval patterns for the skeleton is not defined in resource file, 179 * create an instance using default or given locale plus given skeleton 419 final String skeleton; global() field in DateIntervalFormat.SkeletonAndItsBestMatch 421 SkeletonAndItsBestMatch(String skeleton, String bestMatch) SkeletonAndItsBestMatch() argument 518 DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, SimpleDateFormat simpleDateFormat) DateIntervalFormat() argument 532 DateIntervalFormat(String skeleton, ULocale locale, SimpleDateFormat simpleDateFormat) DateIntervalFormat() argument 558 getInstance(String skeleton) getInstance() argument 578 getInstance(String skeleton, Locale locale) getInstance() argument 614 getInstance(String skeleton, ULocale locale) getInstance() argument 636 getInstance(String skeleton, DateIntervalInfo dtitvinf) getInstance() argument 658 getInstance(String skeleton, Locale locale, DateIntervalInfo dtitvinf) getInstance() argument 703 getInstance(String skeleton, ULocale locale, DateIntervalInfo dtitvinf) getInstance() argument 1583 genFallbackPattern(int field, String skeleton, Map<String, PatternInfo> intervalPatterns, DateTimePatternGenerator dtpng) genFallbackPattern() argument 1615 normalizeHourMetacharacters(String skeleton, ULocale locale) normalizeHourMetacharacters() argument 1725 getDateTimeSkeleton(String skeleton, StringBuilder dateSkeleton, StringBuilder normalizedDateSkeleton, StringBuilder timeSkeleton, StringBuilder normalizedTimeSkeleton) getDateTimeSkeleton() argument 1980 genIntervalPattern( int field, String skeleton, String bestSkeleton, int differenceInfo, Map<String, PatternInfo> intervalPatterns) genIntervalPattern() argument 2308 fieldExistsInSkeleton(int field, String skeleton) fieldExistsInSkeleton() argument [all...] |
H A D | 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 "yMMM 732 setIntervalPattern(String skeleton, int lrgDiffCalUnit, String intervalPattern) setIntervalPattern() argument 778 setIntervalPatternInternally(String skeleton, String lrgDiffCalUnit, String intervalPattern) setIntervalPatternInternally() argument 815 setIntervalPattern(String skeleton, String lrgDiffCalUnit, PatternInfo ptnInfo) setIntervalPattern() argument 857 getIntervalPattern(String skeleton, int field) getIntervalPattern() argument 1034 parseSkeleton(String skeleton, int[] skeletonFieldWidth) parseSkeleton() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | NumberSkeletonTest.java | 313 for (String skeleton : cases) { in defaultTokens() 314 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 315 assertEquals("Skeleton should become empty when normalized: " + skeleton, "", normalized); in defaultTokens() 328 String skeleton = cas[0]; in flexibleSeparators() 330 String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 332 assertEquals(skeleton, expected, actual); in flexibleSeparators() 359 // This rounding mode is not printed in the skeleton since it is the default in roundingModeNames() 362 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames() 364 assertEquals(mode.toString(), modeString, skeleton.substring(14)); in roundingModeNames() 419 String skeleton in perUnitInArabic() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-number-format.cc | 388 // Parse the 'currencyDisplay' from the skeleton. 390 const icu::UnicodeString& skeleton) { in CurrencyDisplayString() 391 // Ex: skeleton as in CurrencyDisplayString() 393 if (skeleton.indexOf("unit-width-iso-code") >= 0) { in CurrencyDisplayString() 396 // Ex: skeleton as in CurrencyDisplayString() 398 if (skeleton.indexOf("unit-width-full-name") >= 0) { in CurrencyDisplayString() 401 // Ex: skeleton as in CurrencyDisplayString() 403 if (skeleton.indexOf("unit-width-narrow") >= 0) { in CurrencyDisplayString() 406 // Ex: skeleton as "currency/TWD .00 rounding-mode-half-up" in CurrencyDisplayString() 410 // Return true if there are no "group-off" in the skeleton 389 CurrencyDisplayString(Isolate* isolate, const icu::UnicodeString& skeleton) CurrencyDisplayString() argument 411 UseGroupingFromSkeleton(const icu::UnicodeString& skeleton) UseGroupingFromSkeleton() argument 415 UseGroupingFromSkeleton(Isolate* isolate, const icu::UnicodeString& skeleton) UseGroupingFromSkeleton() argument 446 CurrencyFromSkeleton( const icu::UnicodeString& skeleton) CurrencyFromSkeleton() argument 455 NumberingSystemFromSkeleton( const icu::UnicodeString& skeleton) NumberingSystemFromSkeleton() argument 468 CurrencySignString(Isolate* isolate, const icu::UnicodeString& skeleton) CurrencySignString() argument 480 UnitDisplayString(Isolate* isolate, const icu::UnicodeString& skeleton) UnitDisplayString() argument 498 NotationFromSkeleton(const icu::UnicodeString& skeleton) NotationFromSkeleton() argument 535 CompactDisplayString(Isolate* isolate, const icu::UnicodeString& skeleton) CompactDisplayString() argument 549 SignDisplayString(Isolate* isolate, const icu::UnicodeString& skeleton) SignDisplayString() argument 581 RoundingModeString(Isolate* isolate, const icu::UnicodeString& skeleton) RoundingModeString() argument 635 RoundingIncrement(Isolate* isolate, const icu::UnicodeString& skeleton) RoundingIncrement() argument 651 RoundingPriorityString(Isolate* isolate, const icu::UnicodeString& skeleton) RoundingPriorityString() argument 672 TrailingZeroDisplayString(Isolate* isolate, const icu::UnicodeString& skeleton) TrailingZeroDisplayString() argument 692 MinimumIntegerDigitsFromSkeleton( const icu::UnicodeString& skeleton) MinimumIntegerDigitsFromSkeleton() argument 716 FractionDigitsFromSkeleton( const icu::UnicodeString& skeleton, int32_t* minimum, int32_t* maximum) FractionDigitsFromSkeleton() argument 743 SignificantDigitsFromSkeleton( const icu::UnicodeString& skeleton, int32_t* minimum, int32_t* maximum) SignificantDigitsFromSkeleton() argument 770 UnitFromSkeleton(const icu::UnicodeString& skeleton) UnitFromSkeleton() argument 806 StyleFromSkeleton(const icu::UnicodeString& skeleton) StyleFromSkeleton() argument 922 icu::UnicodeString skeleton = icu_number_formatter->toSkeleton(status); ResolvedOptions() local [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DateIntervalFormat.java | 74 * from (skeleton, the_largest_different_calendar_field) 78 * A skeleton 95 * letter length in skeleton. 118 * There is a set of pre-defined static skeleton strings in DateFormat, 121 * For example, for a skeleton YEAR_ABBR_MONTH_DAY, which is "yMMMd", 131 * For date skeleton, the interval patterns when year, or month, or date is 133 * For time skeleton, the interval patterns when am/pm, or hour, or minute is 137 * If a skeleton is not found in a locale's DateIntervalInfo, which means 138 * the interval patterns for the skeleton is not defined in resource file, 180 * create an instance using default or given locale plus given skeleton 404 final String skeleton; global() field in DateIntervalFormat.SkeletonAndItsBestMatch 406 SkeletonAndItsBestMatch(String skeleton, String bestMatch) SkeletonAndItsBestMatch() argument 500 DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, SimpleDateFormat simpleDateFormat) DateIntervalFormat() argument 514 DateIntervalFormat(String skeleton, ULocale locale, SimpleDateFormat simpleDateFormat) DateIntervalFormat() argument 539 getInstance(String skeleton) getInstance() argument 558 getInstance(String skeleton, Locale locale) getInstance() argument 593 getInstance(String skeleton, ULocale locale) getInstance() argument 614 getInstance(String skeleton, DateIntervalInfo dtitvinf) getInstance() argument 635 getInstance(String skeleton, Locale locale, DateIntervalInfo dtitvinf) getInstance() argument 679 getInstance(String skeleton, ULocale locale, DateIntervalInfo dtitvinf) getInstance() argument 1491 genFallbackPattern(int field, String skeleton, Map<String, PatternInfo> intervalPatterns, DateTimePatternGenerator dtpng) genFallbackPattern() argument 1546 getDateTimeSkeleton(String skeleton, StringBuilder dateSkeleton, StringBuilder normalizedDateSkeleton, StringBuilder timeSkeleton, StringBuilder normalizedTimeSkeleton) getDateTimeSkeleton() argument 1807 genIntervalPattern( int field, String skeleton, String bestSkeleton, int differenceInfo, Map<String, PatternInfo> intervalPatterns) genIntervalPattern() argument 2053 fieldExistsInSkeleton(int field, String skeleton) fieldExistsInSkeleton() argument [all...] |
H A D | 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 "yMMM 715 setIntervalPattern(String skeleton, int lrgDiffCalUnit, String intervalPattern) setIntervalPattern() argument 761 setIntervalPatternInternally(String skeleton, String lrgDiffCalUnit, String intervalPattern) setIntervalPatternInternally() argument 798 setIntervalPattern(String skeleton, String lrgDiffCalUnit, PatternInfo ptnInfo) setIntervalPattern() argument 840 getIntervalPattern(String skeleton, int field) getIntervalPattern() argument 1006 parseSkeleton(String skeleton, int[] skeletonFieldWidth) parseSkeleton() argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | numbertest_skeletons.cpp | 326 const char16_t* skeleton; in flexibleSeparators() member 334 UnicodeString skeletonString(cas.skeleton); in flexibleSeparators() 436 UnicodeString skeleton(u"measure-unit/"); in perUnitInArabic() 437 skeleton += cas1.type; in perUnitInArabic() 438 skeleton += u"-"; in perUnitInArabic() 439 skeleton += cas1.subtype; in perUnitInArabic() 440 skeleton += u" "; in perUnitInArabic() 441 skeleton += u"per-measure-unit/"; in perUnitInArabic() 442 skeleton += cas2.type; in perUnitInArabic() 443 skeleton in perUnitInArabic() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | NumberSkeletonTest.java | 300 for (String skeleton : cases) { in defaultTokens() 301 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 302 assertEquals("Skeleton should become empty when normalized: " + skeleton, "", normalized); in defaultTokens() 315 String skeleton = cas[0]; in flexibleSeparators() 317 String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 319 assertEquals(skeleton, expected, actual); in flexibleSeparators() 347 // This rounding mode is not printed in the skeleton since it is the default in roundingModeNames() 350 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames() 352 assertEquals(mode.toString(), modeString, skeleton.substring(14)); in roundingModeNames() 407 String skeleton in perUnitInArabic() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | dtitvinf.cpp | 86 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 92 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 93 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 96 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 98 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 182 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 190 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 273 // Process the skeleton 284 * Processes the patterns for a skeleton table 289 // Iterate over all the patterns in the current skeleton tabl in processSkeletonTable() 487 setIntervalPatternInternally(const UnicodeString& skeleton, UCalendarDateFields lrgDiffCalUnit, const UnicodeString& intervalPattern, UErrorCode& status) setIntervalPatternInternally() argument 515 parseSkeleton(const UnicodeString& skeleton, int32_t* skeletonFieldWidth) parseSkeleton() argument 543 getBestSkeleton(const UnicodeString& skeleton, int8_t& bestMatchDistanceInfo) const getBestSkeleton() argument [all...] |
H A D | udatpg.cpp | 60 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() 77 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 275 const UChar *skeleton, int32_ in udatpg_replaceFieldTypes() 59 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBestPattern() argument 69 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UDateTimePatternMatchOptions options, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBestPatternWithOptions() argument 87 udatpg_getSkeleton(UDateTimePatternGenerator * , const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) udatpg_getSkeleton() argument 105 udatpg_getBaseSkeleton(UDateTimePatternGenerator * , const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBaseSkeleton() argument 273 udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) udatpg_replaceFieldTypes() argument 284 udatpg_replaceFieldTypesWithOptions(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UDateTimePatternMatchOptions options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) udatpg_replaceFieldTypesWithOptions() argument 318 udatpg_getPatternForSkeleton(const UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t skeletonLength, int32_t *pLength) udatpg_getPatternForSkeleton() argument [all...] |
H A D | dtitvfmt.cpp | 89 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 91 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 96 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 103 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 107 sprintf(mesg, "skeleton: %s; pattern: %s\n", result, result_1); in createInstance() 116 return create(locale, dtitvinf, &skeleton, status); in createInstance() 122 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 125 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 130 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 663 DateIntervalFormat(const Locale& locale, DateIntervalInfo* dtItvInfo, const UnicodeString* skeleton, UErrorCode& status) DateIntervalFormat() argument 697 create(const Locale& locale, DateIntervalInfo* dtitvinf, const UnicodeString* skeleton, UErrorCode& status) create() argument 920 UnicodeString skeleton = fSkeleton; initializePattern() local 1055 getDateTimeSkeleton(const UnicodeString& skeleton, UnicodeString& dateSkeleton, UnicodeString& normalizedDateSkeleton, UnicodeString& timeSkeleton, UnicodeString& normalizedTimeSkeleton) getDateTimeSkeleton() argument 1218 const UnicodeString* skeleton; setSeparateDateTimePtn() local 1313 setFallbackPattern(UCalendarDateFields field, const UnicodeString& skeleton, UErrorCode& status) setFallbackPattern() argument 1428 setIntervalPattern(UCalendarDateFields field, const UnicodeString* skeleton, const UnicodeString* bestSkeleton, int8_t differenceInfo, UnicodeString* extendedSkeleton, UnicodeString* extendedBestSkeleton) setIntervalPattern() argument 1682 fieldExistsInSkeleton(UCalendarDateFields field, const UnicodeString& skeleton) fieldExistsInSkeleton() argument [all...] |
H A D | dtptngen.cpp | 393 dtMatcher->copyFrom(other.dtMatcher->skeleton); in operator =() 1039 // Add pattern with its associated skeleton. Override any duplicate 1240 * Map a skeleton that may have metacharacters jJC to one without, by replacing 1244 * as necessary. Returns the updated skeleton. 1290 // in #13183 just add b/B to skeleton, no longer need to set special flags in mapSkeletonMetacharacters() 1307 // Get pattern for skeleton with H, then replace H or k in mapSkeletonMetacharacters() 1321 const UnicodeString& skeleton, in replaceFieldTypes() 1323 return replaceFieldTypes(pattern, skeleton, UDATPG_MATCH_NO_OPTIONS, status); in replaceFieldTypes() 1328 const UnicodeString& skeleton, in replaceFieldTypes() 1338 dtMatcher->set(skeleton, f in replaceFieldTypes() 1320 replaceFieldTypes(const UnicodeString& pattern, const UnicodeString& skeleton, UErrorCode& status) replaceFieldTypes() argument 1327 replaceFieldTypes(const UnicodeString& pattern, const UnicodeString& skeleton, UDateTimePatternMatchOptions options, UErrorCode& status) replaceFieldTypes() argument 1534 PtnSkeleton skeleton; addPatternWithSkeleton() local 2081 add(const UnicodeString& basePattern, const PtnSkeleton& skeleton, const UnicodeString& value, UBool skeletonWasSpecified, UErrorCode &status) add() argument 2186 getPatternFromSkeleton(const PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr) const getPatternFromSkeleton() argument 2257 getDuplicateElem( const UnicodeString &basePattern, const PtnSkeleton &skeleton, PtnElem *baseElem) getDuplicateElem() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | dtitvinf.cpp | 88 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 94 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 95 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 98 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 100 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 184 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 192 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 275 // Process the skeleton 286 * Processes the patterns for a skeleton table 291 // Iterate over all the patterns in the current skeleton tabl in processSkeletonTable() 491 setIntervalPatternInternally(const UnicodeString& skeleton, UCalendarDateFields lrgDiffCalUnit, const UnicodeString& intervalPattern, UErrorCode& status) setIntervalPatternInternally() argument 519 parseSkeleton(const UnicodeString& skeleton, int32_t* skeletonFieldWidth) parseSkeleton() argument 547 getBestSkeleton(const UnicodeString& skeleton, int8_t& bestMatchDistanceInfo) const getBestSkeleton() argument [all...] |
H A D | udatpg.cpp | 60 const char16_t *skeleton, int32_t length, in udatpg_getBestPattern() 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const char16_t *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() 77 if(skeleton==nullptr && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 char16_t *skeleton, int32_t capacity, in udatpg_getSkeleton() 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 char16_t *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 275 const char16_t *skeleton, int32_ in udatpg_replaceFieldTypes() 59 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, const char16_t *skeleton, int32_t length, char16_t *bestPattern, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBestPattern() argument 69 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, const char16_t *skeleton, int32_t length, UDateTimePatternMatchOptions options, char16_t *bestPattern, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBestPatternWithOptions() argument 87 udatpg_getSkeleton(UDateTimePatternGenerator * , const char16_t *pattern, int32_t length, char16_t *skeleton, int32_t capacity, UErrorCode *pErrorCode) udatpg_getSkeleton() argument 105 udatpg_getBaseSkeleton(UDateTimePatternGenerator * , const char16_t *pattern, int32_t length, char16_t *skeleton, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBaseSkeleton() argument 273 udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, const char16_t *pattern, int32_t patternLength, const char16_t *skeleton, int32_t skeletonLength, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) udatpg_replaceFieldTypes() argument 284 udatpg_replaceFieldTypesWithOptions(UDateTimePatternGenerator *dtpg, const char16_t *pattern, int32_t patternLength, const char16_t *skeleton, int32_t skeletonLength, UDateTimePatternMatchOptions options, char16_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) udatpg_replaceFieldTypesWithOptions() argument 318 udatpg_getPatternForSkeleton(const UDateTimePatternGenerator *dtpg, const char16_t *skeleton, int32_t skeletonLength, int32_t *pLength) udatpg_getPatternForSkeleton() argument [all...] |
H A D | dtitvfmt.cpp | 89 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 91 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 96 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 103 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 107 snprintf(mesg, sizeof(mesg), "skeleton: %s; pattern: %s\n", result, result_1); in createInstance() 116 return create(locale, dtitvinf, &skeleton, status); in createInstance() 122 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 125 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 130 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 663 DateIntervalFormat(const Locale& locale, DateIntervalInfo* dtItvInfo, const UnicodeString* skeleton, UErrorCode& status) DateIntervalFormat() argument 697 create(const Locale& locale, DateIntervalInfo* dtitvinf, const UnicodeString* skeleton, UErrorCode& status) create() argument 920 UnicodeString skeleton = fSkeleton; initializePattern() local 1055 getDateTimeSkeleton(const UnicodeString& skeleton, UnicodeString& dateSkeleton, UnicodeString& normalizedDateSkeleton, UnicodeString& timeSkeleton, UnicodeString& normalizedTimeSkeleton) getDateTimeSkeleton() argument 1218 const UnicodeString* skeleton; setSeparateDateTimePtn() local 1313 setFallbackPattern(UCalendarDateFields field, const UnicodeString& skeleton, UErrorCode& status) setFallbackPattern() argument 1428 setIntervalPattern(UCalendarDateFields field, const UnicodeString* skeleton, const UnicodeString* bestSkeleton, int8_t differenceInfo, UnicodeString* extendedSkeleton, UnicodeString* extendedBestSkeleton) setIntervalPattern() argument 1682 fieldExistsInSkeleton(UCalendarDateFields field, const UnicodeString& skeleton) fieldExistsInSkeleton() argument [all...] |
H A D | dtptngen.cpp | 396 dtMatcher->copyFrom(other.dtMatcher->skeleton); in operator =() 1031 // Add pattern with its associated skeleton. Override any duplicate 1232 * Map a skeleton that may have metacharacters jJC to one without, by replacing 1236 * as necessary. Returns the updated skeleton. 1282 // in #13183 just add b/B to skeleton, no longer need to set special flags in mapSkeletonMetacharacters() 1299 // Get pattern for skeleton with H, then replace H or k in mapSkeletonMetacharacters() 1313 const UnicodeString& skeleton, in replaceFieldTypes() 1315 return replaceFieldTypes(pattern, skeleton, UDATPG_MATCH_NO_OPTIONS, status); in replaceFieldTypes() 1320 const UnicodeString& skeleton, in replaceFieldTypes() 1330 dtMatcher->set(skeleton, f in replaceFieldTypes() 1312 replaceFieldTypes(const UnicodeString& pattern, const UnicodeString& skeleton, UErrorCode& status) replaceFieldTypes() argument 1319 replaceFieldTypes(const UnicodeString& pattern, const UnicodeString& skeleton, UDateTimePatternMatchOptions options, UErrorCode& status) replaceFieldTypes() argument 1526 PtnSkeleton skeleton; addPatternWithSkeleton() local 2073 add(const UnicodeString& basePattern, const PtnSkeleton& skeleton, const UnicodeString& value, UBool skeletonWasSpecified, UErrorCode &status) add() argument 2178 getPatternFromSkeleton(const PtnSkeleton& skeleton, const PtnSkeleton** specifiedSkeletonPtr) const getPatternFromSkeleton() argument 2249 getDuplicateElem( const UnicodeString &basePattern, const PtnSkeleton &skeleton, PtnElem *baseElem) getDuplicateElem() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | dtitvinf.cpp | 87 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 93 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 94 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 97 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 99 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 183 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 191 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 274 // Process the skeleton in put() 285 * Processes the patterns for a skeleton table 290 // Iterate over all the patterns in the current skeleton tabl in processSkeletonTable() 505 setIntervalPatternInternally(const UnicodeString& skeleton, UCalendarDateFields lrgDiffCalUnit, const UnicodeString& intervalPattern, UErrorCode& status) setIntervalPatternInternally() argument 533 parseSkeleton(const UnicodeString& skeleton, int32_t* skeletonFieldWidth) parseSkeleton() argument 561 getBestSkeleton(const UnicodeString& skeleton, int8_t& bestMatchDistanceInfo) const getBestSkeleton() argument [all...] |
H A D | udatpg.cpp | 60 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() 77 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 240 const UChar *skeleton, int32_ in udatpg_replaceFieldTypes() 59 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBestPattern() argument 69 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t length, UDateTimePatternMatchOptions options, UChar *bestPattern, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBestPatternWithOptions() argument 87 udatpg_getSkeleton(UDateTimePatternGenerator * , const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) udatpg_getSkeleton() argument 105 udatpg_getBaseSkeleton(UDateTimePatternGenerator * , const UChar *pattern, int32_t length, UChar *skeleton, int32_t capacity, UErrorCode *pErrorCode) udatpg_getBaseSkeleton() argument 238 udatpg_replaceFieldTypes(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) udatpg_replaceFieldTypes() argument 249 udatpg_replaceFieldTypesWithOptions(UDateTimePatternGenerator *dtpg, const UChar *pattern, int32_t patternLength, const UChar *skeleton, int32_t skeletonLength, UDateTimePatternMatchOptions options, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) udatpg_replaceFieldTypesWithOptions() argument 283 udatpg_getPatternForSkeleton(const UDateTimePatternGenerator *dtpg, const UChar *skeleton, int32_t skeletonLength, int32_t *pLength) udatpg_getPatternForSkeleton() argument [all...] |
H A D | dtitvfmt.cpp | 89 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 91 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 96 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 103 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 107 sprintf(mesg, "skeleton: %s; pattern: %s\n", result, result_1); in createInstance() 116 return create(locale, dtitvinf, &skeleton, status); in createInstance() 122 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 125 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 130 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 663 DateIntervalFormat(const Locale& locale, DateIntervalInfo* dtItvInfo, const UnicodeString* skeleton, UErrorCode& status) DateIntervalFormat() argument 697 create(const Locale& locale, DateIntervalInfo* dtitvinf, const UnicodeString* skeleton, UErrorCode& status) create() argument 920 UnicodeString skeleton = fSkeleton; initializePattern() local 1049 getDateTimeSkeleton(const UnicodeString& skeleton, UnicodeString& dateSkeleton, UnicodeString& normalizedDateSkeleton, UnicodeString& timeSkeleton, UnicodeString& normalizedTimeSkeleton) getDateTimeSkeleton() argument 1212 const UnicodeString* skeleton; setSeparateDateTimePtn() local 1307 setFallbackPattern(UCalendarDateFields field, const UnicodeString& skeleton, UErrorCode& status) setFallbackPattern() argument 1422 setIntervalPattern(UCalendarDateFields field, const UnicodeString* skeleton, const UnicodeString* bestSkeleton, int8_t differenceInfo, UnicodeString* extendedSkeleton, UnicodeString* extendedBestSkeleton) setIntervalPattern() argument 1676 fieldExistsInSkeleton(UCalendarDateFields field, const UnicodeString& skeleton) fieldExistsInSkeleton() argument [all...] |
H A D | dtptngen.cpp | 394 dtMatcher->copyFrom(other.dtMatcher->skeleton); in operator =() 1035 // Add pattern with its associated skeleton. Override any duplicate 1223 * Map a skeleton that may have metacharacters jJC to one without, by replacing 1227 * as necessary. Returns the updated skeleton. 1273 // in #13183 just add b/B to skeleton, no longer need to set special flags 1290 // Get pattern for skeleton with H, then replace H or k 1304 const UnicodeString& skeleton, 1306 return replaceFieldTypes(pattern, skeleton, UDATPG_MATCH_NO_OPTIONS, status); 1311 const UnicodeString& skeleton, 1321 dtMatcher->set(skeleton, f [all...] |
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
H A D | DateIntervalFormatSample.java | 59 for (String skeleton:skeletons) { in dtitvfmtPreDefined() 60 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtPreDefined() 61 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); in dtitvfmtPreDefined() 62 DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); in dtitvfmtPreDefined() 106 for (String skeleton:skeletons){ in dtitvfmtCustomized() 108 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtCustomized() 109 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf); in dtitvfmtCustomized() 110 DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton,ULocale.JAPANESE,dtitvinf); in dtitvfmtCustomized()
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | dtitvfmt.h | 147 * from (skeleton, the_largest_different_calendar_field) 151 * A skeleton 172 * letter length in skeleton. 195 * There is a set of pre-defined static skeleton strings. 198 * For example, for a skeleton UDAT_YEAR_ABBR_MONTH_DAY, which is "yMMMd", 208 * For date skeleton, the interval patterns when year, or month, or date is 210 * For time skeleton, the interval patterns when am/pm, or hour, or minute is 214 * If a skeleton is not found in a locale's DateIntervalInfo, which means 215 * the interval patterns for the skeleton is not defined in resource file, 259 * create an instance using default or given locale plus given skeleton [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | dtitvfmt.h | 147 * from (skeleton, the_largest_different_calendar_field) 151 * A skeleton 172 * letter length in skeleton. 195 * There is a set of pre-defined static skeleton strings. 198 * For example, for a skeleton UDAT_YEAR_ABBR_MONTH_DAY, which is "yMMMd", 208 * For date skeleton, the interval patterns when year, or month, or date is 210 * For time skeleton, the interval patterns when am/pm, or hour, or minute is 214 * If a skeleton is not found in a locale's DateIntervalInfo, which means 215 * the interval patterns for the skeleton is not defined in resource file, 259 * create an instance using default or given locale plus given skeleton [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | dtitvfmt.h | 147 * from (skeleton, the_largest_different_calendar_field) 151 * A skeleton 172 * letter length in skeleton. 195 * There is a set of pre-defined static skeleton strings. 198 * For example, for a skeleton UDAT_YEAR_ABBR_MONTH_DAY, which is "yMMMd", 208 * For date skeleton, the interval patterns when year, or month, or date is 210 * For time skeleton, the interval patterns when am/pm, or hour, or minute is 214 * If a skeleton is not found in a locale's DateIntervalInfo, which means 215 * the interval patterns for the skeleton is not defined in resource file, 259 * create an instance using default or given locale plus given skeleton [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | FormatSpec.java | 283 // "skeleton" string. It must also always be limited to the Basic Multilingual Plane (BMP). 308 StringBuilder skeleton = new StringBuilder(); in parse() 325 skeleton.append(escapeGroupNumber(groups.size())); in parse() 351 skeleton.append(escapeGroupNumber(groups.size())); in parse() 363 skeleton.append(ESCAPED_NATIONAL_PREFIX); in parse() 370 skeleton.append(ESCAPED_CARRIER_CODE); in parse() 381 skeleton.append(c); in parse() 398 skeleton.toString()); in parse() 425 abstract String skeleton(); in skeleton() method in FormatSpec.FormatTemplate 473 String format = "$" + (fgIndex + 1) + skeleton() in getXmlFormat() [all...] |