Home
last modified time | relevance | path

Searched refs:TimeZoneRule (Results 1 – 18 of 18) sorted by relevance

/external/icu4c/i18n/unicode/
Dtztrans.h24 class TimeZoneRule; variable
42 TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to);
115 const TimeZoneRule* getFrom(void) const;
123 void setFrom(const TimeZoneRule& from);
131 void adoptFrom(TimeZoneRule* from);
139 void setTo(const TimeZoneRule& to);
147 void adoptTo(TimeZoneRule* to);
154 const TimeZoneRule* getTo(void) const;
158 TimeZoneRule* fFrom;
159 TimeZoneRule* fTo;
Dtzrule.h32 class U_I18N_API TimeZoneRule : public UObject {
38 virtual ~TimeZoneRule();
46 virtual TimeZoneRule* clone(void) const = 0;
55 virtual UBool operator==(const TimeZoneRule& that) const;
64 virtual UBool operator!=(const TimeZoneRule& that) const;
97 virtual UBool isEquivalentTo(const TimeZoneRule& other) const;
170 TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
177 TimeZoneRule(const TimeZoneRule& source);
184 TimeZoneRule& operator=(const TimeZoneRule& right);
198 class U_I18N_API InitialTimeZoneRule : public TimeZoneRule {
[all …]
Drbtz.h102 void addTransitionRule(TimeZoneRule* rule, UErrorCode& status);
297 const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) /*const*/;
310 TimeZoneRule* findRuleInFinal(UDate date, UBool local,
312 …UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
313 …UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c…
Dbasictz.h112 const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) /*const*/ = 0;
Dvtzone.h361 const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) /*const*/;
Dsimpletz.h751 const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) /*const*/;
/external/icu4c/i18n/
Dtzrule.cpp33 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings) in TimeZoneRule() function in TimeZoneRule
37 TimeZoneRule::TimeZoneRule(const TimeZoneRule& source) in TimeZoneRule() function in TimeZoneRule
41 TimeZoneRule::~TimeZoneRule() { in ~TimeZoneRule()
44 TimeZoneRule&
45 TimeZoneRule::operator=(const TimeZoneRule& right) { in operator =()
55 TimeZoneRule::operator==(const TimeZoneRule& that) const { in operator ==()
64 TimeZoneRule::operator!=(const TimeZoneRule& that) const { in operator !=()
69 TimeZoneRule::getName(UnicodeString& name) const { in getName()
75 TimeZoneRule::getRawOffset(void) const { in getRawOffset()
80 TimeZoneRule::getDSTSavings(void) const { in getDSTSavings()
[all …]
Drbtz.cpp27 TimeZoneRule* from;
28 TimeZoneRule* to;
42 TimeZoneRule *r1 = (TimeZoneRule*)rules1->elementAt(i); in compareRules()
43 TimeZoneRule *r2 = (TimeZoneRule*)rules2->elementAt(i); in compareRules()
114 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) { in addTransitionRule()
164 TimeZoneRule *curRule = fInitialRule; in complete()
184 TimeZoneRule *nextRule = NULL; in complete()
185 TimeZoneRule *r = NULL; in complete()
195 r = (TimeZoneRule*)fHistoricRules->elementAt(i); in complete()
231 TimeZoneRule *fr = (TimeZoneRule*)fFinalRules->elementAt(i); in complete()
[all …]
Dzrule.cpp32 delete (TimeZoneRule*)rule; in zrule_close()
37 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2; in zrule_equals()
43 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s); in zrule_getName()
51 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset(); in zrule_getRawOffset()
56 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings(); in zrule_getDSTSavings()
61 return ((TimeZoneRule*)rule1)->TimeZoneRule::isEquivalentTo(*(TimeZoneRule*)rule2); in zrule_isEquivalentTo()
Dtztrans.cpp21 TimeZoneTransition::TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
97 TimeZoneTransition::setFrom(const TimeZoneRule& from) { in setFrom()
105 TimeZoneTransition::adoptFrom(TimeZoneRule* from) { in adoptFrom()
113 TimeZoneTransition::setTo(const TimeZoneRule& to) { in setTo()
121 TimeZoneTransition::adoptTo(TimeZoneRule* to) { in adoptTo()
133 const TimeZoneRule*
138 const TimeZoneRule*
Dztrans.cpp28 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to); in ztrans_open()
68 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setFrom(*(TimeZoneRule*)from); in ztrans_setFrom()
73 return ((TimeZoneTransition*)trans)->TimeZoneTransition::adoptFrom((TimeZoneRule*)from); in ztrans_adoptFrom()
83 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTo(*(TimeZoneRule*)to); in ztrans_setTo()
88 return ((TimeZoneTransition*)trans)->TimeZoneTransition::adoptTo((TimeZoneRule*)to); in ztrans_adoptTo()
Dbasictz.cpp294 const TimeZoneRule **orgtrs = NULL; in getTimeZoneRulesAfter()
299 TimeZoneRule *r = NULL; in getTimeZoneRulesAfter()
319 orgtrs = (const TimeZoneRule**)uprv_malloc(sizeof(TimeZoneRule*)*ruleCount); in getTimeZoneRulesAfter()
362 r = (TimeZoneRule*)orgRules->elementAt(i); in getTimeZoneRulesAfter()
383 const TimeZoneRule *toRule = tzt.getTo(); in getTimeZoneRulesAfter()
385 r = (TimeZoneRule*)orgRules->elementAt(i); in getTimeZoneRulesAfter()
507 r = (TimeZoneRule*)orgRules->orphanElementAt(0); in getTimeZoneRulesAfter()
526 r = (TimeZoneRule*)orgRules->orphanElementAt(0); in getTimeZoneRulesAfter()
534 r = (TimeZoneRule*)filteredRules->orphanElementAt(0); in getTimeZoneRulesAfter()
Dsimpletz.cpp990 result.setFrom((const TimeZoneRule&)*dstRule); in getNextTransition()
991 result.setTo((const TimeZoneRule&)*stdRule); in getNextTransition()
996 result.setFrom((const TimeZoneRule&)*stdRule); in getNextTransition()
997 result.setTo((const TimeZoneRule&)*dstRule); in getNextTransition()
1024 result.setFrom((const TimeZoneRule&)*dstRule); in getPreviousTransition()
1025 result.setTo((const TimeZoneRule&)*stdRule); in getPreviousTransition()
1030 result.setFrom((const TimeZoneRule&)*stdRule); in getPreviousTransition()
1031 result.setTo((const TimeZoneRule&)*dstRule); in getPreviousTransition()
1193 const TimeZoneRule* trsrules[], in getTimeZoneRules()
Dvtzone.cpp29 delete (TimeZoneRule*) obj; in deleteTimeZoneRule()
524 static TimeZoneRule* createRuleByRRULE(const UnicodeString& zonename, int rawOffset, int dstSavings… in createRuleByRRULE()
727 static TimeZoneRule* createRuleByRDATE(const UnicodeString& zonename, int32_t rawOffset, int32_t ds… in createRuleByRDATE()
1239 const TimeZoneRule* trsrules[], int32_t& trscount, in getTimeZoneRules()
1500 TimeZoneRule *rule = NULL; in parse()
1598 TimeZoneRule *r = (TimeZoneRule*)rules->elementAt(n); in parse()
1633 TimeZoneRule *r = (TimeZoneRule*)rules->elementAt(n); in parse()
1645 TimeZoneRule *newRule; in parse()
1682 TimeZoneRule *tzr = (TimeZoneRule*)rules->orphanElementAt(0); in parse()
1702 TimeZoneRule *r = (TimeZoneRule*)rules->orphanElementAt(0); in parse()
[all …]
Dolsontz.cpp783 TimeZoneRule *firstFinalRule = NULL; in initTransitionRules()
831 TimeZoneRule *prevRule = NULL; in initTransitionRules()
897 TimeZoneRule *to = historicRules[typeMapData[ttidx + 1]]; in getNextTransition()
898 TimeZoneRule *from = historicRules[typeMapData[ttidx]]; in getNextTransition()
958 TimeZoneRule *to = historicRules[typeMapData[ttidx]]; in getPreviousTransition()
959 TimeZoneRule *from = historicRules[typeMapData[ttidx-1]]; in getPreviousTransition()
1011 const TimeZoneRule* trsrules[], in getTimeZoneRules()
Dolsontz.h272 const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) /*const*/;
/external/icu4c/test/intltest/
Dtzrulets.cpp661 const TimeZoneRule **trsrules = new const TimeZoneRule*[ruleCount]; in TestRBTZTransition()
1522 const TimeZoneRule *trrules[2]; in TestSimpleTimeZoneCoverage()
/external/icu4c/common/unicode/
Durename.h2174 #define TimeZoneRule U_ICU_ENTRY_POINT_RENAME(TimeZoneRule) macro