Home
last modified time | relevance | path

Searched refs:EraRules (Results 1 – 20 of 20) sorted by relevance

/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Derarules.cpp102 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() function in EraRules
108 EraRules::~EraRules() { in ~EraRules()
111 EraRules* EraRules::createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& stat… in createInstance()
218 EraRules *result; in createInstance()
220 result = new EraRules(startDates, firstTentativeIdx); in createInstance()
222 result = new EraRules(startDates, numEras); in createInstance()
231 void EraRules::getStartDate(int32_t eraIdx, int32_t (&fields)[3], UErrorCode& status) const { in getStartDate()
242 int32_t EraRules::getStartYear(int32_t eraIdx, UErrorCode& status) const { in getStartYear()
258 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex()
290 void EraRules::initCurrentEra() { in initCurrentEra()
Derarules.h27 class U_I18N_API EraRules : public UMemory {
29 ~EraRules();
31 …static EraRules* createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& status…
81 EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEra);
Djapancal.cpp31 static icu::EraRules * gJapaneseEraRules = nullptr;
80 gJapaneseEraRules = EraRules::createInstance("japanese", includeTentativeEra, status); in initializeEras()
/third_party/node/deps/icu-small/source/i18n/
Derarules.cpp105 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() function in EraRules
111 EraRules::~EraRules() { in ~EraRules()
114 EraRules* EraRules::createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& stat… in createInstance()
221 EraRules *result; in createInstance()
223 result = new EraRules(startDates, firstTentativeIdx); in createInstance()
225 result = new EraRules(startDates, numEras); in createInstance()
234 void EraRules::getStartDate(int32_t eraIdx, int32_t (&fields)[3], UErrorCode& status) const { in getStartDate()
245 int32_t EraRules::getStartYear(int32_t eraIdx, UErrorCode& status) const { in getStartYear()
261 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex()
293 void EraRules::initCurrentEra() { in initCurrentEra()
Derarules.h33 class U_I18N_API EraRules : public UMemory {
35 ~EraRules();
37 …static EraRules* createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& status…
88 EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEra);
Djapancal.cpp41 static icu::EraRules * gJapaneseEraRules = nullptr;
97 …gJapaneseEraRules = EraRules::createInstance("japanese", JapaneseCalendar::enableTentativeEra(), s… in initializeEras()
/third_party/icu/icu4c/source/i18n/
Derarules.cpp105 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() function in EraRules
111 EraRules::~EraRules() { in ~EraRules()
114 EraRules* EraRules::createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& stat… in createInstance()
221 EraRules *result; in createInstance()
223 result = new EraRules(startDates, firstTentativeIdx); in createInstance()
225 result = new EraRules(startDates, numEras); in createInstance()
234 void EraRules::getStartDate(int32_t eraIdx, int32_t (&fields)[3], UErrorCode& status) const { in getStartDate()
245 int32_t EraRules::getStartYear(int32_t eraIdx, UErrorCode& status) const { in getStartYear()
261 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex()
293 void EraRules::initCurrentEra() { in initCurrentEra()
Derarules.h33 class U_I18N_API EraRules : public UMemory {
35 ~EraRules();
37 …static EraRules* createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& status…
88 EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEra);
Djapancal.cpp41 static icu::EraRules * gJapaneseEraRules = nullptr;
97 …gJapaneseEraRules = EraRules::createInstance("japanese", JapaneseCalendar::enableTentativeEra(), s… in initializeEras()
/third_party/skia/third_party/externals/icu/source/i18n/
Derarules.cpp105 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() function in EraRules
111 EraRules::~EraRules() { in ~EraRules()
114 EraRules* EraRules::createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& stat… in createInstance()
221 EraRules *result; in createInstance()
223 result = new EraRules(startDates, firstTentativeIdx); in createInstance()
225 result = new EraRules(startDates, numEras); in createInstance()
234 void EraRules::getStartDate(int32_t eraIdx, int32_t (&fields)[3], UErrorCode& status) const { in getStartDate()
245 int32_t EraRules::getStartYear(int32_t eraIdx, UErrorCode& status) const { in getStartYear()
261 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex()
293 void EraRules::initCurrentEra() { in initCurrentEra()
Derarules.h33 class U_I18N_API EraRules : public UMemory {
35 ~EraRules();
37 …static EraRules* createInstance(const char *calType, UBool includeTentativeEra, UErrorCode& status…
88 EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEra);
Djapancal.cpp41 static icu::EraRules * gJapaneseEraRules = nullptr;
97 …gJapaneseEraRules = EraRules::createInstance("japanese", JapaneseCalendar::enableTentativeEra(), s… in initializeEras()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DEraRulesTest.java12 import ohos.global.icu.impl.EraRules;
32 EraRules rules1 = EraRules.getInstance(calType, false); in testAPIs()
37 EraRules rules2 = EraRules.getInstance(calType, true); in testAPIs()
69 EraRules rules = EraRules.getInstance(CalType.JAPANESE, true); in testJapanese()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DEraRulesTest.java11 import com.ibm.icu.impl.EraRules;
29 EraRules rules1 = EraRules.getInstance(calType, false); in testAPIs()
34 EraRules rules2 = EraRules.getInstance(calType, true); in testAPIs()
66 EraRules rules = EraRules.getInstance(CalType.JAPANESE, true); in testJapanese()
/third_party/icu/icu4c/source/test/intltest/
Derarulestest.cpp54 LocalPointer<EraRules> rules1(EraRules::createInstance(calId, FALSE, status)); in testAPIs()
60 LocalPointer<EraRules> rules2(EraRules::createInstance(calId, TRUE, status)); in testAPIs()
110 LocalPointer<EraRules> rules(EraRules::createInstance("japanese", TRUE, status)); in testJapanese()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DEraRules.java18 public class EraRules { class
32 private EraRules(int[] startDates, int numEras) { in EraRules() method in EraRules
38 public static EraRules getInstance(CalType calType, boolean includeTentativeEra) { in getInstance()
125 return new EraRules(startDates, firstTentativeIdx); in getInstance()
128 return new EraRules(startDates, numEras); in getInstance()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DEraRules.java20 public class EraRules { class
34 private EraRules(int[] startDates, int numEras) { in EraRules() method in EraRules
40 public static EraRules getInstance(CalType calType, boolean includeTentativeEra) { in getInstance()
127 return new EraRules(startDates, firstTentativeIdx); in getInstance()
130 return new EraRules(startDates, numEras); in getInstance()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java14 import com.ibm.icu.impl.EraRules;
231 private static final EraRules ERA_RULES;
234 ERA_RULES = EraRules.getInstance(CalType.JAPANESE, enableTentativeEra());
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DJapaneseCalendar.java15 import ohos.global.icu.impl.EraRules;
221 private static final EraRules ERA_RULES;
224 ERA_RULES = EraRules.getInstance(CalType.JAPANESE, enableTentativeEra());
/third_party/icu/ohos_icu4j/
DBUILD.gn365 "src/main/java/ohos/global/icu/impl/EraRules.java",