Home
last modified time | relevance | path

Searched refs:TimeZoneTransition (Results 1 – 25 of 33) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dztrans.cpp28 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to); in ztrans_open()
33 return (ZTrans*) new TimeZoneTransition(); in ztrans_openEmpty()
38 delete (TimeZoneTransition*)trans; in ztrans_close()
43 return (ZTrans*) (((TimeZoneTransition*)trans)->TimeZoneTransition::clone()); in ztrans_clone()
48 return *(const TimeZoneTransition*)trans1 == *(const TimeZoneTransition*)trans2; in ztrans_equals()
53 return ((TimeZoneTransition*)trans)->TimeZoneTransition::getTime(); in ztrans_getTime()
58 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTime(time); in ztrans_setTime()
63 return (void*) (((TimeZoneTransition*)trans)->TimeZoneTransition::getFrom()); in ztrans_getFrom()
68 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setFrom(*(TimeZoneRule*)from); in ztrans_setFrom()
73 return ((TimeZoneTransition*)trans)->TimeZoneTransition::adoptFrom((TimeZoneRule*)from); in ztrans_adoptFrom()
[all …]
Dtztrans.cpp19 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeZoneTransition) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
21 TimeZoneTransition::TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
25 TimeZoneTransition::TimeZoneTransition() in TimeZoneTransition() function in TimeZoneTransition
29 TimeZoneTransition::TimeZoneTransition(const TimeZoneTransition& source) in TimeZoneTransition() function in TimeZoneTransition
40 TimeZoneTransition::~TimeZoneTransition() { in ~TimeZoneTransition()
49 TimeZoneTransition*
50 TimeZoneTransition::clone(void) const { in clone()
51 return new TimeZoneTransition(*this); in clone()
54 TimeZoneTransition&
55 TimeZoneTransition::operator=(const TimeZoneTransition& right) { in operator =()
[all …]
Dolsontz.h237 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
247 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
393 TimeZoneTransition *firstTZTransition;
395 TimeZoneTransition *firstFinalTZTransition;
Dbasictz.cpp68 TimeZoneTransition tr1, tr2; in hasEquivalentTransitions()
146 TimeZoneTransition tr; in getSimpleRulesNear()
295 TimeZoneTransition tzt; in getTimeZoneRulesAfter()
402 TimeZoneTransition tzt0; in getTimeZoneRulesAfter()
Dvzone.cpp162 …return ((VTimeZone*)zone)->VTimeZone::getNextTransition(base, inclusive, *(TimeZoneTransition*)res… in vzone_getNextTransition()
167 …(VTimeZone*)zone)->VTimeZone::getPreviousTransition(base, inclusive, *(TimeZoneTransition*)result); in vzone_getPreviousTransition()
Dolsontz.cpp796 firstTZTransition = new TimeZoneTransition((UDate)transitionTime(firstTZTransitionIdx), in initTransitionRules()
828 TimeZoneTransition tzt; in initTransitionRules()
865 firstFinalTZTransition = new TimeZoneTransition(); in initTransitionRules()
879 OlsonTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const { in getNextTransition()
944 OlsonTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const… in getPreviousTransition()
Dsimpletz.cpp971 SimpleTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const { in getNextTransition()
1005 SimpleTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) cons… in getPreviousTransition()
1190 firstTransition = new TimeZoneTransition(firstStdStart, *initialRule, *stdRule); in initTransitionRules()
1193 firstTransition = new TimeZoneTransition(firstDstStart, *initialRule, *dstRule); in initTransitionRules()
Drbtz.cpp544 RuleBasedTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const… in getNextTransition()
563 RuleBasedTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) c… in getPreviousTransition()
Dtzgnames.cpp662 TimeZoneTransition before; in formatGenericNonLocationName()
669 TimeZoneTransition after; in formatGenericNonLocationName()
Ducal.cpp762 TimeZoneTransition tzt; in ucal_getTimeZoneTransitionDate()
/external/icu/icu4c/source/i18n/unicode/
Dtztrans.h31 class U_I18N_API TimeZoneTransition : public UObject {
42 TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to);
48 TimeZoneTransition();
55 TimeZoneTransition(const TimeZoneTransition& source);
61 ~TimeZoneTransition();
69 TimeZoneTransition* clone(void) const;
76 TimeZoneTransition& operator=(const TimeZoneTransition& right);
85 UBool operator==(const TimeZoneTransition& that) const;
94 UBool operator!=(const TimeZoneTransition& that) const;
Dbasictz.h50 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
60 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const…
Dsimpletz.h42 class TimeZoneTransition; variable
712 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
722 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
879 TimeZoneTransition* firstTransition;
Drbtz.h258 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
268 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
Dvtzone.h322 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
332 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRuleBasedTimeZone.java31 private transient List<TimeZoneTransition> historicTransitions;
186 TimeZoneTransition tt = getNextTransition(now, false); in useDaylightTime()
211 TimeZoneTransition tt = getNextTransition(time, false); in observesDaylightTime()
344 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition()
350 TimeZoneTransition result = null; in getNextTransition()
351 TimeZoneTransition tzt = historicTransitions.get(0); in getNextTransition()
370 … tzt = new TimeZoneTransition(start0.getTime(), finalRules[1], finalRules[0]); in getNextTransition()
372 … tzt = new TimeZoneTransition(start1.getTime(), finalRules[0], finalRules[1]); in getNextTransition()
382 TimeZoneTransition prev = tzt; in getNextTransition()
418 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition()
[all …]
DTimeZoneTransition.java15 public class TimeZoneTransition { class
30 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { in TimeZoneTransition() method in TimeZoneTransition
DSimpleTimeZone.java1258 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition()
1273 return new TimeZoneTransition(stdDate.getTime(), dstRule, stdRule); in getNextTransition()
1276 return new TimeZoneTransition(dstDate.getTime(), stdRule, dstRule); in getNextTransition()
1286 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition()
1301 return new TimeZoneTransition(stdDate.getTime(), dstRule, stdRule); in getPreviousTransition()
1304 return new TimeZoneTransition(dstDate.getTime(), stdRule, dstRule); in getPreviousTransition()
1329 private transient TimeZoneTransition firstTransition;
1399 firstTransition = new TimeZoneTransition(firstStdStart, initialRule, stdRule); in initTransitionRules()
1402 firstTransition = new TimeZoneTransition(firstDstStart, initialRule, dstRule); in initTransitionRules()
DBasicTimeZone.java47 public abstract TimeZoneTransition getNextTransition(long base, boolean inclusive); in getNextTransition()
62 public abstract TimeZoneTransition getPreviousTransition(long base, boolean inclusive); in getPreviousTransition()
138 TimeZoneTransition tr1 = getNextTransition(time, false); in hasEquivalentTransitions()
139 TimeZoneTransition tr2 = ((BasicTimeZone)tz).getNextTransition(time, false); in hasEquivalentTransitions()
238 TimeZoneTransition tzt = getPreviousTransition(start, true); in getTimeZoneRules()
394 TimeZoneTransition tr = getNextTransition(date, false); in getSimpleTimeZoneRulesNear()
DVTimeZone.java334 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition()
343 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition()
1288 TimeZoneTransition tzt = basictz.getNextTransition(t, false); in writeZone()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java25 import com.ibm.icu.util.TimeZoneTransition;
192 TimeZoneTransition tzt = getPreviousTransition(current, false); in setRawOffset()
948 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { in getNextTransition()
989 return new TimeZoneTransition(startTime, from, to); in getNextTransition()
999 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { in getPreviousTransition()
1041 return new TimeZoneTransition(startTime, from, to); in getPreviousTransition()
1099 private transient TimeZoneTransition firstTZTransition;
1101 private transient TimeZoneTransition firstFinalTZTransition;
1174 …firstTZTransition = new TimeZoneTransition(transitionTimes64[firstTZTransitionIdx] * Grego.MILLIS_… in initTransitionRules()
1196 TimeZoneTransition tzt = finalZoneWithStartYear.getNextTransition(startTime, false); in initTransitionRules()
[all …]
DTimeZoneGenericNames.java33 import com.ibm.icu.util.TimeZoneTransition;
352 TimeZoneTransition before = btz.getPreviousTransition(date, true); in formatGenericNonLocationName()
358 TimeZoneTransition after = btz.getNextTransition(date, false); in formatGenericNonLocationName()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java30 import com.ibm.icu.util.TimeZoneTransition;
485 TimeZoneTransition tzt = olsontz.getNextTransition(startTime, false); in TestVTimeZoneRoundTrip()
545 TimeZoneTransition tzt = olsontz.getNextTransition(startTime, false); in TestVTimeZoneRoundTripPartial()
1060 TimeZoneTransition tzt1, tzt2; in TestSimpleTimeZoneCoverage()
1194 TimeZoneTransition tzt1 = otz.getNextTransition(base, true); in TestVTimeZoneCoverage()
1195 TimeZoneTransition tzt2 = vtz.getNextTransition(base, true); in TestVTimeZoneCoverage()
1429 TimeZoneTransition tzt = stz.getNextTransition(t, false); in TestT6669()
1472 TimeZoneTransition tzt0; in verifyTransitions()
1478 TimeZoneTransition tzt = icutz.getNextTransition(time, false); in verifyTransitions()
1506 TimeZoneTransition tzt = icutz.getPreviousTransition(time, false); in verifyTransitions()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp837 TimeZoneTransition trans; in TestVTimeZoneRoundTrip()
927 TimeZoneTransition trans; in TestVTimeZoneRoundTripPartial()
1518 TimeZoneTransition tzt1, tzt2; in TestSimpleTimeZoneCoverage()
1728 TimeZoneTransition tzt1, tzt2; in TestVTimeZoneCoverage()
1741 TimeZoneTransition *tzt1c = tzt1.clone(); in TestVTimeZoneCoverage()
1746 TimeZoneTransition tzt3(tzt1); in TestVTimeZoneCoverage()
2164 TimeZoneTransition tzt; in TestT6669()
2334 TimeZoneTransition tzt, tzt0; in verifyTransitions()
2413 TimeZoneTransition tzt1, tzt2; in compareTransitionsAscending()
2470 TimeZoneTransition tzt1, tzt2; in compareTransitionsDescending()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java39 import com.ibm.icu.util.TimeZoneTransition;
415 TimeZoneTransition tzt = null; in TestTimeRoundTrip()

12