/external/icu/icu4c/source/i18n/unicode/ |
D | basictz.h | 38 class U_I18N_API BasicTimeZone: public TimeZone { 44 virtual ~BasicTimeZone(); 52 virtual BasicTimeZone* clone() const = 0; 94 virtual UBool hasEquivalentTransitions(const BasicTimeZone& tz, UDate start, UDate end, 193 BasicTimeZone(); 200 BasicTimeZone(const UnicodeString &id); 207 BasicTimeZone(const BasicTimeZone& source); 213 BasicTimeZone& operator=(const BasicTimeZone&) = default;
|
D | vtzone.h | 45 class U_I18N_API VTimeZone : public BasicTimeZone { 103 static VTimeZone* createVTimeZoneFromBasicTimeZone(const BasicTimeZone& basicTZ, 383 void writeZone(VTZWriter& w, BasicTimeZone& basictz, UVector* customProps, 421 BasicTimeZone *tz;
|
/external/icu/libicu/cts_headers/unicode/ |
D | basictz.h | 38 class U_I18N_API BasicTimeZone: public TimeZone { 44 virtual ~BasicTimeZone(); 52 virtual BasicTimeZone* clone() const = 0; 94 virtual UBool hasEquivalentTransitions(const BasicTimeZone& tz, UDate start, UDate end, 193 BasicTimeZone(); 200 BasicTimeZone(const UnicodeString &id); 207 BasicTimeZone(const BasicTimeZone& source); 213 BasicTimeZone& operator=(const BasicTimeZone&) = default;
|
D | vtzone.h | 45 class U_I18N_API VTimeZone : public BasicTimeZone { 103 static VTimeZone* createVTimeZoneFromBasicTimeZone(const BasicTimeZone& basicTZ, 383 void writeZone(VTZWriter& w, BasicTimeZone& basictz, UVector* customProps, 421 BasicTimeZone *tz;
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/ |
D | BasicTimeZoneExample.java | 14 import com.ibm.icu.util.BasicTimeZone; 38 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in nextTransitionExample() 65 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in previousTransitionExample() 92 …BasicTimeZone btz = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_I… in timeZoneRulesExample() 107 …BasicTimeZone tzNewYork = (BasicTimeZone)TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZON… in equivalentTransitionsExample() 108 …BasicTimeZone tzDetroit = (BasicTimeZone)TimeZone.getTimeZone("America/Detroit", TimeZone.TIMEZONE… in equivalentTransitionsExample()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.h | 45 void verifyTransitions(BasicTimeZone& icutz, UDate start, UDate end); 46 void compareTransitionsAscending(BasicTimeZone& z1, BasicTimeZone& z2, 48 void compareTransitionsDescending(BasicTimeZone& z1, BasicTimeZone& z2,
|
D | tzoffloc.cpp | 132 BasicTimeZone *TESTZONES[NUM_TIMEZONES]; in TestGetOffsetAroundTransition() 134 TESTZONES[0] = (BasicTimeZone*)TimeZone::createTimeZone("America/Los_Angeles"); in TestGetOffsetAroundTransition() 246 … TESTZONES[i]->getOffsetFromLocal(MILLIS[m], BasicTimeZone::kStandard, BasicTimeZone::kStandard, in TestGetOffsetAroundTransition() 267 … TESTZONES[i]->getOffsetFromLocal(MILLIS[m], BasicTimeZone::kDaylight, BasicTimeZone::kDaylight, in TestGetOffsetAroundTransition() 288 … TESTZONES[i]->getOffsetFromLocal(MILLIS[m], BasicTimeZone::kFormer, BasicTimeZone::kLatter, in TestGetOffsetAroundTransition() 309 … TESTZONES[i]->getOffsetFromLocal(MILLIS[m], BasicTimeZone::kLatter, BasicTimeZone::kFormer, in TestGetOffsetAroundTransition()
|
D | tzrulets.cpp | 52 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2, 435 BasicTimeZone *ny = (BasicTimeZone*)TimeZone::createTimeZone("America/New_York"); in TestHistoricalRuleBasedTimeZone() 624 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestOlsonTransition() 659 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestRBTZTransition() 708 BasicTimeZone *newyork = (BasicTimeZone*)TimeZone::createTimeZone("America/New_York"); in TestHasEquivalentTransitions() 709 …BasicTimeZone *indianapolis = (BasicTimeZone*)TimeZone::createTimeZone("America/Indiana/Indianapol… in TestHasEquivalentTransitions() 710 BasicTimeZone *gmt_5 = (BasicTimeZone*)TimeZone::createTimeZone("Etc/GMT+5"); in TestHasEquivalentTransitions() 745 BasicTimeZone *newyork2 = newyork->clone(); in TestHasEquivalentTransitions() 761 BasicTimeZone *losangeles = (BasicTimeZone*)TimeZone::createTimeZone("America/Los_Angeles"); in TestHasEquivalentTransitions() 796 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestVTimeZoneRoundTrip() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 21 import android.icu.util.BasicTimeZone; 120 BasicTimeZone[] TESTZONES = new BasicTimeZone[3]; in TestGetOffsetAroundTransition() 122 … TESTZONES[0] = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU); in TestGetOffsetAroundTransition() 194 …TESTZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_STD, BasicTimeZone.LOCAL_STD, offse… in TestGetOffsetAroundTransition() 208 …TESTZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_DST, BasicTimeZone.LOCAL_DST, offse… in TestGetOffsetAroundTransition() 222 …TESTZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_FORMER, BasicTimeZone.LOCAL_LATTER,… in TestGetOffsetAroundTransition() 236 …TESTZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_LATTER, BasicTimeZone.LOCAL_FORMER,… in TestGetOffsetAroundTransition()
|
D | TimeZoneRuleTest.java | 27 import android.icu.util.BasicTimeZone; 275 if (!(((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1967, jan1_2010))) { in TestHistoricalRuleBasedTimeZone() 278 if (((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1950, jan1_2010)) { in TestHistoricalRuleBasedTimeZone() 369 TimeZoneRule[] rules = ((BasicTimeZone)tz).getTimeZoneRules(startTime); in TestRBTZTransition() 409 if (((BasicTimeZone)newyork).hasEquivalentTransitions(indianapolis, jan1_2005, jan1_2011)) { in TestHasEquivalentTransitions() 412 … if (!((BasicTimeZone)newyork).hasEquivalentTransitions(indianapolis, jan1_2006, jan1_2011)) { in TestHasEquivalentTransitions() 416 if (!((BasicTimeZone)indianapolis).hasEquivalentTransitions(gmt_5, jan1_1971, jan1_2006)) { in TestHasEquivalentTransitions() 419 if (((BasicTimeZone)indianapolis).hasEquivalentTransitions(gmt_5, jan1_1971, jan1_2007)) { in TestHasEquivalentTransitions() 425 if (!((BasicTimeZone)newyork).hasEquivalentTransitions(newyork2, jan1_1971, jan1_2011)) { in TestHasEquivalentTransitions() 428 …if (!((BasicTimeZone)newyork).hasEquivalentTransitions(newyork2, jan1_1971, jan1_2011, true /*igno… in TestHasEquivalentTransitions() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 20 import com.ibm.icu.util.BasicTimeZone; 117 BasicTimeZone[] TESTZONES = new BasicTimeZone[3]; in TestGetOffsetAroundTransition() 119 … TESTZONES[0] = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU); in TestGetOffsetAroundTransition() 191 …TESTZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_STD, BasicTimeZone.LOCAL_STD, offse… in TestGetOffsetAroundTransition() 205 …TESTZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_DST, BasicTimeZone.LOCAL_DST, offse… in TestGetOffsetAroundTransition() 219 …TESTZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_FORMER, BasicTimeZone.LOCAL_LATTER,… in TestGetOffsetAroundTransition() 233 …TESTZONES[i].getOffsetFromLocal(MILLIS[m], BasicTimeZone.LOCAL_LATTER, BasicTimeZone.LOCAL_FORMER,… in TestGetOffsetAroundTransition()
|
D | TimeZoneRuleTest.java | 26 import com.ibm.icu.util.BasicTimeZone; 272 if (!(((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1967, jan1_2010))) { in TestHistoricalRuleBasedTimeZone() 275 if (((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1950, jan1_2010)) { in TestHistoricalRuleBasedTimeZone() 366 TimeZoneRule[] rules = ((BasicTimeZone)tz).getTimeZoneRules(startTime); in TestRBTZTransition() 406 if (((BasicTimeZone)newyork).hasEquivalentTransitions(indianapolis, jan1_2005, jan1_2011)) { in TestHasEquivalentTransitions() 409 … if (!((BasicTimeZone)newyork).hasEquivalentTransitions(indianapolis, jan1_2006, jan1_2011)) { in TestHasEquivalentTransitions() 413 if (!((BasicTimeZone)indianapolis).hasEquivalentTransitions(gmt_5, jan1_1971, jan1_2006)) { in TestHasEquivalentTransitions() 416 if (((BasicTimeZone)indianapolis).hasEquivalentTransitions(gmt_5, jan1_1971, jan1_2007)) { in TestHasEquivalentTransitions() 422 if (!((BasicTimeZone)newyork).hasEquivalentTransitions(newyork2, jan1_1971, jan1_2011)) { in TestHasEquivalentTransitions() 425 …if (!((BasicTimeZone)newyork).hasEquivalentTransitions(newyork2, jan1_1971, jan1_2011, true /*igno… in TestHasEquivalentTransitions() [all …]
|
/external/icu/android_icu4j/testing/src/com/android/icu/test/util/ |
D | ExtendedTimeZoneParameterizedTest.java | 27 import android.icu.util.BasicTimeZone; 105 BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(zoneId); in testTransitionsNearInstants() 151 BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(zoneId); in testAllTransitions() 187 assumeTrue(icuTimeZone instanceof BasicTimeZone); in testZoneRules_consistencyWithIcu4j() 189 BasicTimeZone timeZone = (BasicTimeZone) icuTimeZone; in testZoneRules_consistencyWithIcu4j() 219 private static void addTransitionsUntilAnnualRule(BasicTimeZone timeZone, List<Long> result) { in addTransitionsUntilAnnualRule() 232 private void assertSameOffset(long utcTimeInMillis, BasicTimeZone timeZone, in assertSameOffset()
|
/external/icu/icu4c/source/i18n/ |
D | basictz.cpp | 23 BasicTimeZone::BasicTimeZone() in BasicTimeZone() function in BasicTimeZone 27 BasicTimeZone::BasicTimeZone(const UnicodeString &id) in BasicTimeZone() function in BasicTimeZone 31 BasicTimeZone::BasicTimeZone(const BasicTimeZone& source) in BasicTimeZone() function in BasicTimeZone 35 BasicTimeZone::~BasicTimeZone() { in ~BasicTimeZone() 39 BasicTimeZone::hasEquivalentTransitions(const BasicTimeZone& tz, UDate start, UDate end, in hasEquivalentTransitions() 132 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, in getSimpleRulesNear() 289 BasicTimeZone::getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, in getTimeZoneRulesAfter() 550 BasicTimeZone::getOffsetFromLocal(UDate /*date*/, int32_t /*nonExistingTimeOpt*/, int32_t /*duplica… in getOffsetFromLocal()
|
D | wintzimpl.cpp | 43 BasicTimeZone *btz = (BasicTimeZone*)tz; // we should check type in getSystemTimeInformation()
|
D | simpletz.cpp | 66 : BasicTimeZone(ID), in SimpleTimeZone() 95 : BasicTimeZone(ID) in SimpleTimeZone() 114 : BasicTimeZone(ID) in SimpleTimeZone() 135 : BasicTimeZone(ID) in SimpleTimeZone() 197 : BasicTimeZone(source) in SimpleTimeZone()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | PrintTransitions.java | 8 import com.ibm.icu.util.BasicTimeZone; 31 BasicTimeZone tz = (BasicTimeZone) TimeZone.getTimeZone(idList[i]); in main()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BasicTimeZone.java | 30 public abstract class BasicTimeZone extends TimeZone { class 114 if (!(tz instanceof BasicTimeZone)) { in hasEquivalentTransitions() 141 TimeZoneTransition tr2 = ((BasicTimeZone)tz).getNextTransition(time, false); in hasEquivalentTransitions() 162 tr2 = ((BasicTimeZone)tz).getNextTransition(tr2.getTime(), false); in hasEquivalentTransitions() 607 protected BasicTimeZone() { in BasicTimeZone() method in BasicTimeZone 617 protected BasicTimeZone(String ID) { in BasicTimeZone() method in BasicTimeZone
|
D | Calendar.java | 5569 if (zone instanceof BasicTimeZone) { in getImmediatePreviousZoneTransition() 5570 … TimeZoneTransition transition = ((BasicTimeZone) zone).getPreviousTransition(base, true); in getImmediatePreviousZoneTransition() 5776 if (zone instanceof BasicTimeZone) { in computeZoneOffset() 5777 …icatedTimeOpt = (repeatedWallTime == WALLTIME_FIRST) ? BasicTimeZone.LOCAL_FORMER : BasicTimeZone.… in computeZoneOffset() 5778 …xistingTimeOpt = (skippedWallTime == WALLTIME_FIRST) ? BasicTimeZone.LOCAL_LATTER : BasicTimeZone.… in computeZoneOffset() 5779 … ((BasicTimeZone)zone).getOffsetFromLocal(wall, nonExistingTimeOpt, duplicatedTimeOpt, offsets); in computeZoneOffset() 5829 if (zone instanceof BasicTimeZone) { in computeZoneOffset() 5830 …icatedTimeOpt = (repeatedWallTime == WALLTIME_FIRST) ? BasicTimeZone.LOCAL_FORMER : BasicTimeZone.… in computeZoneOffset() 5831 …xistingTimeOpt = (skippedWallTime == WALLTIME_FIRST) ? BasicTimeZone.LOCAL_LATTER : BasicTimeZone.… in computeZoneOffset() 5832 … ((BasicTimeZone)zone).getOffsetFromLocal(wall, nonExistingTimeOpt, duplicatedTimeOpt, offsets); in computeZoneOffset()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BasicTimeZone.java | 32 public abstract class BasicTimeZone extends TimeZone { class 109 if (!(tz instanceof BasicTimeZone)) { in hasEquivalentTransitions() 136 TimeZoneTransition tr2 = ((BasicTimeZone)tz).getNextTransition(time, false); in hasEquivalentTransitions() 157 tr2 = ((BasicTimeZone)tz).getNextTransition(tr2.getTime(), false); in hasEquivalentTransitions() 595 protected BasicTimeZone() { in BasicTimeZone() method in BasicTimeZone 605 protected BasicTimeZone(String ID) { in BasicTimeZone() method in BasicTimeZone
|
D | Calendar.java | 5395 if (zone instanceof BasicTimeZone) { in getImmediatePreviousZoneTransition() 5396 … TimeZoneTransition transition = ((BasicTimeZone) zone).getPreviousTransition(base, true); in getImmediatePreviousZoneTransition() 5602 if (zone instanceof BasicTimeZone) { in computeZoneOffset() 5603 …icatedTimeOpt = (repeatedWallTime == WALLTIME_FIRST) ? BasicTimeZone.LOCAL_FORMER : BasicTimeZone.… in computeZoneOffset() 5604 …xistingTimeOpt = (skippedWallTime == WALLTIME_FIRST) ? BasicTimeZone.LOCAL_LATTER : BasicTimeZone.… in computeZoneOffset() 5605 … ((BasicTimeZone)zone).getOffsetFromLocal(wall, nonExistingTimeOpt, duplicatedTimeOpt, offsets); in computeZoneOffset() 5655 if (zone instanceof BasicTimeZone) { in computeZoneOffset() 5656 …icatedTimeOpt = (repeatedWallTime == WALLTIME_FIRST) ? BasicTimeZone.LOCAL_FORMER : BasicTimeZone.… in computeZoneOffset() 5657 …xistingTimeOpt = (skippedWallTime == WALLTIME_FIRST) ? BasicTimeZone.LOCAL_LATTER : BasicTimeZone.… in computeZoneOffset() 5658 … ((BasicTimeZone)zone).getOffsetFromLocal(wall, nonExistingTimeOpt, duplicatedTimeOpt, offsets); in computeZoneOffset()
|
/external/icu/tools/srcgen/ |
D | core-platform-api.txt | 9 method:android.icu.util.BasicTimeZone#getNextTransition(long,boolean) 17 type:android.icu.util.BasicTimeZone
|
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/util/ |
D | ExtendedTimeZone.java | 21 import android.icu.util.BasicTimeZone; 115 if (!(timezone instanceof BasicTimeZone)) { in createZoneRules() 121 BasicTimeZone basicTimeZone = (BasicTimeZone) timezone; in createZoneRules()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | TimeZoneGenericNames.java | 31 import android.icu.util.BasicTimeZone; 354 if (tz instanceof BasicTimeZone) { in formatGenericNonLocationName() 355 BasicTimeZone btz = (BasicTimeZone)tz; in formatGenericNonLocationName()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TimeZoneGenericNames.java | 30 import com.ibm.icu.util.BasicTimeZone; 350 if (tz instanceof BasicTimeZone) { in formatGenericNonLocationName() 351 BasicTimeZone btz = (BasicTimeZone)tz; in formatGenericNonLocationName()
|