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

12

/external/icu/icu4c/source/i18n/
H A Dztrans.cpp28 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to);
33 return (ZTrans*) new TimeZoneTransition();
38 delete (TimeZoneTransition*)trans;
43 return (ZTrans*) (((TimeZoneTransition*)trans)->TimeZoneTransition::clone());
48 return *(const TimeZoneTransition*)trans1 == *(const TimeZoneTransition*)trans2;
53 return ((TimeZoneTransition*)trans)->TimeZoneTransition::getTime();
58 return ((TimeZoneTransition*)tran
[all...]
H A Dtztrans.cpp19 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeZoneTransition)
21 TimeZoneTransition::TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to) function in class:TimeZoneTransition
25 TimeZoneTransition::TimeZoneTransition() function in class:TimeZoneTransition
29 TimeZoneTransition::TimeZoneTransition(const TimeZoneTransition& source) function in class:TimeZoneTransition
40 TimeZoneTransition::~TimeZoneTransition() {
[all...]
H A 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;
H A Dvzone.cpp162 return ((VTimeZone*)zone)->VTimeZone::getNextTransition(base, inclusive, *(TimeZoneTransition*)result);
167 return ((VTimeZone*)zone)->VTimeZone::getPreviousTransition(base, inclusive, *(TimeZoneTransition*)result);
H A Dbasictz.cpp68 TimeZoneTransition tr1, tr2;
146 TimeZoneTransition tr;
295 TimeZoneTransition tzt;
402 TimeZoneTransition tzt0;
H A Dolsontz.cpp796 firstTZTransition = new TimeZoneTransition((UDate)transitionTime(firstTZTransitionIdx),
828 TimeZoneTransition tzt;
865 firstFinalTZTransition = new TimeZoneTransition();
879 OlsonTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const {
921 // Create a TimeZoneTransition
944 OlsonTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const {
982 // Create a TimeZoneTransition
H A Dsimpletz.cpp971 SimpleTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const {
1005 SimpleTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const {
1190 firstTransition = new TimeZoneTransition(firstStdStart, *initialRule, *stdRule);
1193 firstTransition = new TimeZoneTransition(firstDstStart, *initialRule, *dstRule);
H A Drbtz.cpp544 RuleBasedTimeZone::getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const {
563 RuleBasedTimeZone::getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const {
H A Ducal.cpp762 TimeZoneTransition tzt;
H A Dtzgnames.cpp662 TimeZoneTransition before;
669 TimeZoneTransition after;
/external/icu/icu4c/source/i18n/unicode/
H A Dtztrans.h27 * <code>TimeZoneTransition</code> is a class representing a time zone transition.
31 class U_I18N_API TimeZoneTransition : public UObject { class in inherits:UObject
34 * Constructs a <code>TimeZoneTransition</code> with the time and the rules before/after
42 TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to);
45 * Constructs an empty <code>TimeZoneTransition</code>
48 TimeZoneTransition();
52 * @param source The TimeZoneTransition object to be copied.
55 TimeZoneTransition(const TimeZoneTransition& source);
61 ~TimeZoneTransition();
[all...]
H A Dbasictz.h50 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
60 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
H A Drbtz.h258 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
268 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
H A Dsimpletz.h42 class TimeZoneTransition;
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;
H A 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/
H A DTimeZoneTransition.java9 * <code>TimeZoneTransition</code> is a class representing a time zone transition.
15 public class TimeZoneTransition { class
21 * Constructs a <code>TimeZoneTransition</code> with the time and the rules before/after
30 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { method in class:TimeZoneTransition
70 * Returns a <code>String</code> representation of this <code>TimeZoneTransition</code> object.
H A DRuleBasedTimeZone.java31 private transient List<TimeZoneTransition> historicTransitions;
186 TimeZoneTransition tt = getNextTransition(now, false);
211 TimeZoneTransition tt = getNextTransition(time, false);
344 public TimeZoneTransition getNextTransition(long base, boolean inclusive) {
350 TimeZoneTransition result = null;
351 TimeZoneTransition tzt = historicTransitions.get(0);
370 tzt = new TimeZoneTransition(start0.getTime(), finalRules[1], finalRules[0]);
372 tzt = new TimeZoneTransition(start1.getTime(), finalRules[0], finalRules[1]);
382 TimeZoneTransition prev = tzt;
418 public TimeZoneTransition getPreviousTransitio
[all...]
H A DBasicTimeZone.java24 * @see com.ibm.icu.util.TimeZoneTransition
47 public abstract TimeZoneTransition getNextTransition(long base, boolean inclusive);
62 public abstract TimeZoneTransition getPreviousTransition(long base, boolean inclusive);
138 TimeZoneTransition tr1 = getNextTransition(time, false);
139 TimeZoneTransition tr2 = ((BasicTimeZone)tz).getNextTransition(time, false);
238 TimeZoneTransition tzt = getPreviousTransition(start, true);
394 TimeZoneTransition tr = getNextTransition(date, false);
H A DSimpleTimeZone.java1258 public TimeZoneTransition getNextTransition(long base, boolean inclusive) {
1273 return new TimeZoneTransition(stdDate.getTime(), dstRule, stdRule);
1276 return new TimeZoneTransition(dstDate.getTime(), stdRule, dstRule);
1286 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) {
1301 return new TimeZoneTransition(stdDate.getTime(), dstRule, stdRule);
1304 return new TimeZoneTransition(dstDate.getTime(), stdRule, dstRule);
1329 private transient TimeZoneTransition firstTransition;
1399 firstTransition = new TimeZoneTransition(firstStdStart, initialRule, stdRule);
1402 firstTransition = new TimeZoneTransition(firstDstStart, initialRule, dstRule);
H A DVTimeZone.java334 public TimeZoneTransition getNextTransition(long base, boolean inclusive) {
343 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) {
1288 TimeZoneTransition tzt = basictz.getNextTransition(t, false);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DOlsonTimeZone.java25 import com.ibm.icu.util.TimeZoneTransition;
192 TimeZoneTransition tzt = getPreviousTransition(current, false);
948 public TimeZoneTransition getNextTransition(long base, boolean inclusive) {
978 // Create a TimeZoneTransition
989 return new TimeZoneTransition(startTime, from, to);
999 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) {
1030 // Create a TimeZoneTransition
1041 return new TimeZoneTransition(startTime, from, to);
1099 private transient TimeZoneTransition firstTZTransition;
1101 private transient TimeZoneTransition firstFinalTZTransitio
[all...]
H A DTimeZoneGenericNames.java33 import com.ibm.icu.util.TimeZoneTransition;
352 TimeZoneTransition before = btz.getPreviousTransition(date, true);
358 TimeZoneTransition after = btz.getNextTransition(date, false);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java30 import com.ibm.icu.util.TimeZoneTransition;
485 TimeZoneTransition tzt = olsontz.getNextTransition(startTime, false);
545 TimeZoneTransition tzt = olsontz.getNextTransition(startTime, false);
1060 TimeZoneTransition tzt1, tzt2;
1087 errln("FAIL: TimeZoneTransition#toString returns null or empty string");
1194 TimeZoneTransition tzt1 = otz.getNextTransition(base, true);
1195 TimeZoneTransition tzt2 = vtz.getNextTransition(base, true);
1429 TimeZoneTransition tzt = stz.getNextTransition(t, false);
1472 TimeZoneTransition tzt0;
1478 TimeZoneTransition tz
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dtzrulets.cpp837 TimeZoneTransition trans;
927 TimeZoneTransition trans;
1518 TimeZoneTransition tzt1, tzt2;
1728 TimeZoneTransition tzt1, tzt2;
1740 // TimeZoneTransition constructor/clone
1741 TimeZoneTransition *tzt1c = tzt1.clone();
1743 errln("FAIL: TimeZoneTransition tzt1c is equal to tzt1, but got wrong result");
1746 TimeZoneTransition tzt3(tzt1);
1748 errln("FAIL: TimeZoneTransition tzt3 is equal to tzt1, but got wrong result");
2164 TimeZoneTransition tz
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DTimeZoneFormatTest.java39 import com.ibm.icu.util.TimeZoneTransition;
415 TimeZoneTransition tzt = null;

Completed in 528 milliseconds

12