/external/icu/icu4c/source/i18n/ |
D | erarules.cpp | 105 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()
|
D | erarules.h | 33 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);
|
D | japancal.cpp | 41 static icu::EraRules * gJapaneseEraRules = nullptr; 97 …gJapaneseEraRules = EraRules::createInstance("japanese", JapaneseCalendar::enableTentativeEra(), s… in initializeEras()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | EraRulesTest.java | 12 import android.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()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | EraRulesTest.java | 11 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()
|
/external/icu/icu4c/source/test/intltest/ |
D | erarulestest.cpp | 54 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()
|
/external/icu/libicu/cts_headers/ |
D | erarules.h | 33 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);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | EraRules.java | 18 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()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | EraRules.java | 20 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()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | JapaneseCalendar.java | 14 import com.ibm.icu.impl.EraRules; 231 private static final EraRules ERA_RULES; 234 ERA_RULES = EraRules.getInstance(CalType.JAPANESE, enableTentativeEra());
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | JapaneseCalendar.java | 15 import android.icu.impl.EraRules; 221 private static final EraRules ERA_RULES; 224 ERA_RULES = EraRules.getInstance(CalType.JAPANESE, enableTentativeEra());
|