Home
last modified time | relevance | path

Searched refs:historicRules (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRuleBasedTimeZone.java28 private List<TimeZoneRule> historicRules; field in RuleBasedTimeZone
79 if (historicRules == null) { in addTransitionRule()
80 historicRules = new ArrayList<TimeZoneRule>(); in addTransitionRule()
82 historicRules.add(rule); in addTransitionRule()
277 if (historicRules != null && otherRBTZ.historicRules != null) { in hasSameRules()
278 if (historicRules.size() != otherRBTZ.historicRules.size()) { in hasSameRules()
281 for (TimeZoneRule rule : historicRules) { in hasSameRules()
283 for (TimeZoneRule orule : otherRBTZ.historicRules) { in hasSameRules()
293 } else if (historicRules != null || otherRBTZ.historicRules != null) { in hasSameRules()
309 if (historicRules != null) { in getTimeZoneRules()
[all …]
/external/icu/icu4c/source/i18n/
Dolsontz.cpp657 historicRules = NULL; in clearTransitionRules()
678 if (historicRules != NULL) { in deleteTransitionRules()
680 if (historicRules[i] != NULL) { in deleteTransitionRules()
681 delete historicRules[i]; in deleteTransitionRules()
684 uprv_free(historicRules); in deleteTransitionRules()
768 if (historicRules == NULL) { in initTransitionRules()
770historicRules = (TimeArrayTimeZoneRule**)uprv_malloc(sizeof(TimeArrayTimeZoneRule*)*historicRuleCo… in initTransitionRules()
771 if (historicRules == NULL) { in initTransitionRules()
779 historicRules[i] = NULL; in initTransitionRules()
782historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
[all …]
Dolsontz.h396 TimeArrayTimeZoneRule **historicRules; variable
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java964 if (historicRules != null) { in getNextTransition()
979 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx + 1])]; in getNextTransition()
980 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx])]; in getNextTransition()
1015 if (historicRules != null) { in getPreviousTransition()
1031 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx])]; in getPreviousTransition()
1032 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx-1])]; in getPreviousTransition()
1054 if (historicRules != null) { in getTimeZoneRules()
1057 for (int i = 0; i < historicRules.length; i++) { in getTimeZoneRules()
1058 if (historicRules[i] != null) { in getTimeZoneRules()
1075 if (historicRules != null) { in getTimeZoneRules()
[all …]