Home
last modified time | relevance | path

Searched refs:calId (Results 1 – 3 of 3) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Derarulestest.cpp52 const char *calId = calTypes[i]; in testAPIs() local
54 LocalPointer<EraRules> rules1(EraRules::createInstance(calId, false, status)); in testAPIs()
56 errln(UnicodeString("Era rules for ") + calId + " is not available."); in testAPIs()
60 LocalPointer<EraRules> rules2(EraRules::createInstance(calId, true, status)); in testAPIs()
62 … errln(UnicodeString("Era rules for ") + calId + " (including tentative eras) is not available."); in testAPIs()
68 errln(UnicodeString("Number of era rules for ") + calId + " is " + numEras1); in testAPIs()
74 + calId); in testAPIs()
93 + " in calendar:" + calId); in testAPIs()
98 …codeString("Failed to get the start year of era index: ") + currentIdx + " in calendar: " + calId); in testAPIs()
101 … errln(UnicodeString("Current era's start year is after the current year in calendar:") + calId); in testAPIs()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DEraRulesTest.java25 String calId = calType.getId(); in testAPIs() local
26 if (calId.equals("iso8601") || calId.equals("unknown")) { in testAPIs()
31 errln("Era rules for " + calId + " is not available."); in testAPIs()
36 errln("Era rules for " + calId + " (including tentative eras) is not available."); in testAPIs()
40 errln("Number of era rules for " + calId + " is " + numEras1); in testAPIs()
45 + calId); in testAPIs()
54 + " in calendar:" + calId); in testAPIs()
59 errln("Current era's start year is after the current year in calendar:" + calId); in testAPIs()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DEraRulesTest.java28 String calId = calType.getId(); in testAPIs() local
29 if (calId.equals("iso8601") || calId.equals("unknown")) { in testAPIs()
34 errln("Era rules for " + calId + " is not available."); in testAPIs()
39 errln("Era rules for " + calId + " (including tentative eras) is not available."); in testAPIs()
43 errln("Number of era rules for " + calId + " is " + numEras1); in testAPIs()
48 + calId); in testAPIs()
57 + " in calendar:" + calId); in testAPIs()
62 errln("Current era's start year is after the current year in calendar:" + calId); in testAPIs()