/external/icu/icu4c/source/i18n/ |
D | ztrans.cpp | 30 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to); in ztrans_open() 35 return (ZTrans*) new TimeZoneTransition(); in ztrans_openEmpty() 40 delete (TimeZoneTransition*)trans; in ztrans_close() 45 return (ZTrans*) (((TimeZoneTransition*)trans)->TimeZoneTransition::clone()); in ztrans_clone() 50 return *(const TimeZoneTransition*)trans1 == *(const TimeZoneTransition*)trans2; in ztrans_equals() 55 return ((TimeZoneTransition*)trans)->TimeZoneTransition::getTime(); in ztrans_getTime() 60 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTime(time); in ztrans_setTime() 65 return (void*) (((TimeZoneTransition*)trans)->TimeZoneTransition::getFrom()); in ztrans_getFrom() 70 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setFrom(*(TimeZoneRule*)from); in ztrans_setFrom() 75 return ((TimeZoneTransition*)trans)->TimeZoneTransition::adoptFrom((TimeZoneRule*)from); in ztrans_adoptFrom() [all …]
|
D | tztrans.cpp | 21 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeZoneTransition) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 23 TimeZoneTransition::TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 27 TimeZoneTransition::TimeZoneTransition() in TimeZoneTransition() function in TimeZoneTransition 31 TimeZoneTransition::TimeZoneTransition(const TimeZoneTransition& source) in TimeZoneTransition() function in TimeZoneTransition 42 TimeZoneTransition::~TimeZoneTransition() { in ~TimeZoneTransition() 51 TimeZoneTransition* 52 TimeZoneTransition::clone(void) const { in clone() 53 return new TimeZoneTransition(*this); in clone() 56 TimeZoneTransition& 57 TimeZoneTransition::operator=(const TimeZoneTransition& right) { in operator =() [all …]
|
D | olsontz.h | 239 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 249 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 395 TimeZoneTransition *firstTZTransition; 397 TimeZoneTransition *firstFinalTZTransition;
|
/external/icu/libicu/cts_headers/unicode/ |
D | tztrans.h | 35 class U_I18N_API TimeZoneTransition : public UObject { 46 TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to); 52 TimeZoneTransition(); 59 TimeZoneTransition(const TimeZoneTransition& source); 65 ~TimeZoneTransition(); 73 TimeZoneTransition* clone() const; 80 TimeZoneTransition& operator=(const TimeZoneTransition& right); 89 UBool operator==(const TimeZoneTransition& that) const; 98 UBool operator!=(const TimeZoneTransition& that) const;
|
D | basictz.h | 62 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0; 72 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const…
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tztrans.h | 35 class U_I18N_API TimeZoneTransition : public UObject { 46 TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to); 52 TimeZoneTransition(); 59 TimeZoneTransition(const TimeZoneTransition& source); 65 ~TimeZoneTransition(); 73 TimeZoneTransition* clone() const; 80 TimeZoneTransition& operator=(const TimeZoneTransition& right); 89 UBool operator==(const TimeZoneTransition& that) const; 98 UBool operator!=(const TimeZoneTransition& that) const;
|
D | basictz.h | 62 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0; 72 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const…
|
D | simpletz.h | 46 class TimeZoneTransition; variable 720 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 730 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 887 TimeZoneTransition* firstTransition;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | RuleBasedTimeZone.java | 33 private transient List<TimeZoneTransition> historicTransitions; 188 TimeZoneTransition tt = getNextTransition(now, false); in useDaylightTime() 213 TimeZoneTransition tt = getNextTransition(time, false); in observesDaylightTime() 346 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition() 352 TimeZoneTransition result; in getNextTransition() 353 TimeZoneTransition tzt = historicTransitions.get(0); in getNextTransition() 372 … tzt = new TimeZoneTransition(start0.getTime(), finalRules[1], finalRules[0]); in getNextTransition() 374 … tzt = new TimeZoneTransition(start1.getTime(), finalRules[0], finalRules[1]); in getNextTransition() 384 TimeZoneTransition prev = tzt; in getNextTransition() 418 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition() [all …]
|
D | TimeZoneTransition.java | 17 public class TimeZoneTransition { class 32 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { in TimeZoneTransition() method in TimeZoneTransition
|
D | BasicTimeZone.java | 49 public abstract TimeZoneTransition getNextTransition(long base, boolean inclusive); in getNextTransition() 64 public abstract TimeZoneTransition getPreviousTransition(long base, boolean inclusive); in getPreviousTransition() 140 TimeZoneTransition tr1 = getNextTransition(time, false); in hasEquivalentTransitions() 141 TimeZoneTransition tr2 = ((BasicTimeZone)tz).getNextTransition(time, false); in hasEquivalentTransitions() 240 TimeZoneTransition tzt = getPreviousTransition(start, true); in getTimeZoneRules() 396 TimeZoneTransition tr = getNextTransition(date, false); in getSimpleTimeZoneRulesNear()
|
D | SimpleTimeZone.java | 1265 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition() 1280 return new TimeZoneTransition(stdDate.getTime(), dstRule, stdRule); in getNextTransition() 1283 return new TimeZoneTransition(dstDate.getTime(), stdRule, dstRule); in getNextTransition() 1293 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition() 1308 return new TimeZoneTransition(stdDate.getTime(), dstRule, stdRule); in getPreviousTransition() 1311 return new TimeZoneTransition(dstDate.getTime(), stdRule, dstRule); in getPreviousTransition() 1336 private transient TimeZoneTransition firstTransition; 1406 firstTransition = new TimeZoneTransition(firstStdStart, initialRule, stdRule); in initTransitionRules() 1409 firstTransition = new TimeZoneTransition(firstDstStart, initialRule, dstRule); in initTransitionRules()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | RuleBasedTimeZone.java | 34 private transient List<TimeZoneTransition> historicTransitions; 173 TimeZoneTransition tt = getNextTransition(now, false); in useDaylightTime() 197 TimeZoneTransition tt = getNextTransition(time, false); in observesDaylightTime() 324 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition() 330 TimeZoneTransition result; in getNextTransition() 331 TimeZoneTransition tzt = historicTransitions.get(0); in getNextTransition() 350 … tzt = new TimeZoneTransition(start0.getTime(), finalRules[1], finalRules[0]); in getNextTransition() 352 … tzt = new TimeZoneTransition(start1.getTime(), finalRules[0], finalRules[1]); in getNextTransition() 362 TimeZoneTransition prev = tzt; in getNextTransition() 394 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition() [all …]
|
D | TimeZoneTransition.java | 19 public class TimeZoneTransition { class 32 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { in TimeZoneTransition() method in TimeZoneTransition
|
D | BasicTimeZone.java | 50 public abstract TimeZoneTransition getNextTransition(long base, boolean inclusive); in getNextTransition() 63 public abstract TimeZoneTransition getPreviousTransition(long base, boolean inclusive); in getPreviousTransition() 135 TimeZoneTransition tr1 = getNextTransition(time, false); in hasEquivalentTransitions() 136 TimeZoneTransition tr2 = ((BasicTimeZone)tz).getNextTransition(time, false); in hasEquivalentTransitions() 231 TimeZoneTransition tzt = getPreviousTransition(start, true); in getTimeZoneRules() 385 TimeZoneTransition tr = getNextTransition(date, false); in getSimpleTimeZoneRulesNear()
|
D | SimpleTimeZone.java | 1236 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition() 1251 return new TimeZoneTransition(stdDate.getTime(), dstRule, stdRule); in getNextTransition() 1254 return new TimeZoneTransition(dstDate.getTime(), stdRule, dstRule); in getNextTransition() 1263 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition() 1278 return new TimeZoneTransition(stdDate.getTime(), dstRule, stdRule); in getPreviousTransition() 1281 return new TimeZoneTransition(dstDate.getTime(), stdRule, dstRule); in getPreviousTransition() 1305 private transient TimeZoneTransition firstTransition; 1375 firstTransition = new TimeZoneTransition(firstStdStart, initialRule, stdRule); in initTransitionRules() 1378 firstTransition = new TimeZoneTransition(firstDstStart, initialRule, dstRule); in initTransitionRules()
|
/external/icu/tools/srcgen/ |
D | core-platform-api.txt | 12 method:android.icu.util.TimeZoneTransition#getFrom() 13 method:android.icu.util.TimeZoneTransition#getTime() 14 method:android.icu.util.TimeZoneTransition#getTo() 21 type:android.icu.util.TimeZoneTransition
|
/external/icu/android_icu4j/testing/src/com/android/icu/test/util/ |
D | ExtendedTimeZoneParameterizedTest.java | 30 import android.icu.util.TimeZoneTransition; 119 TimeZoneTransition icuTrans; in testTransitionsNearInstants() 156 TimeZoneTransition icuTrans; in testAllTransitions() 221 TimeZoneTransition transition = null; in addTransitionsUntilAnnualRule() 261 private static boolean isIcuOnlyTransition(TimeZoneTransition transition) { in isIcuOnlyTransition() 274 TimeZoneTransition icuTransition, ZoneOffsetTransition jtTransition) { in assertEquivalent()
|
/external/icu/libicu/cts_headers/ |
D | olsontz.h | 239 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 249 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 395 TimeZoneTransition *firstTZTransition; 397 TimeZoneTransition *firstFinalTZTransition;
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/ |
D | BasicTimeZoneExample.java | 19 import com.ibm.icu.util.TimeZoneTransition; 46 … TimeZoneTransition trans = btz.getNextTransition(start, false /* not including start time */); in nextTransitionExample() 73 … TimeZoneTransition trans = btz.getPreviousTransition(start, false /* not including start time */); in previousTransitionExample()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | OlsonTimeZone.java | 28 import android.icu.util.TimeZoneTransition; 196 TimeZoneTransition tzt = getPreviousTransition(current, false); in setRawOffset() 949 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition() 990 return new TimeZoneTransition(startTime, from, to); in getNextTransition() 1000 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition() 1042 return new TimeZoneTransition(startTime, from, to); in getPreviousTransition() 1100 private transient TimeZoneTransition firstTZTransition; 1102 private transient TimeZoneTransition firstFinalTZTransition; 1175 …firstTZTransition = new TimeZoneTransition(transitionTimes64[firstTZTransitionIdx] * Grego.MILLIS_… in initTransitionRules() 1197 TimeZoneTransition tzt = finalZoneWithStartYear.getNextTransition(startTime, false); in initTransitionRules() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | OlsonTimeZone.java | 27 import com.ibm.icu.util.TimeZoneTransition; 194 TimeZoneTransition tzt = getPreviousTransition(current, false); in setRawOffset() 947 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition() 988 return new TimeZoneTransition(startTime, from, to); in getNextTransition() 998 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition() 1040 return new TimeZoneTransition(startTime, from, to); in getPreviousTransition() 1098 private transient TimeZoneTransition firstTZTransition; 1100 private transient TimeZoneTransition firstFinalTZTransition; 1173 …firstTZTransition = new TimeZoneTransition(transitionTimes64[firstTZTransitionIdx] * Grego.MILLIS_… in initTransitionRules() 1195 TimeZoneTransition tzt = finalZoneWithStartYear.getNextTransition(startTime, false); in initTransitionRules() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | PrintTransitions.java | 12 import com.ibm.icu.util.TimeZoneTransition; 32 TimeZoneTransition tzt; in main()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 36 import com.ibm.icu.util.TimeZoneTransition; 494 TimeZoneTransition tzt = olsontz.getNextTransition(startTime, false); in TestVTimeZoneRoundTrip() 555 TimeZoneTransition tzt = olsontz.getNextTransition(startTime, false); in TestVTimeZoneRoundTripPartial() 1075 TimeZoneTransition tzt1, tzt2; in TestSimpleTimeZoneCoverage() 1210 TimeZoneTransition tzt1 = otz.getNextTransition(base, true); in TestVTimeZoneCoverage() 1211 TimeZoneTransition tzt2 = vtz.getNextTransition(base, true); in TestVTimeZoneCoverage() 1448 TimeZoneTransition tzt = stz.getNextTransition(t, false); in TestT6669() 1492 TimeZoneTransition tzt0; in verifyTransitions() 1498 TimeZoneTransition tzt = icutz.getNextTransition(time, false); in verifyTransitions() 1526 TimeZoneTransition tzt = icutz.getPreviousTransition(time, false); in verifyTransitions() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 37 import android.icu.util.TimeZoneTransition; 497 TimeZoneTransition tzt = olsontz.getNextTransition(startTime, false); in TestVTimeZoneRoundTrip() 558 TimeZoneTransition tzt = olsontz.getNextTransition(startTime, false); in TestVTimeZoneRoundTripPartial() 1078 TimeZoneTransition tzt1, tzt2; in TestSimpleTimeZoneCoverage() 1213 TimeZoneTransition tzt1 = otz.getNextTransition(base, true); in TestVTimeZoneCoverage() 1214 TimeZoneTransition tzt2 = vtz.getNextTransition(base, true); in TestVTimeZoneCoverage() 1451 TimeZoneTransition tzt = stz.getNextTransition(t, false); in TestT6669() 1495 TimeZoneTransition tzt0; in verifyTransitions() 1501 TimeZoneTransition tzt = icutz.getNextTransition(time, false); in verifyTransitions() 1529 TimeZoneTransition tzt = icutz.getPreviousTransition(time, false); in verifyTransitions() [all …]
|