Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/util/
DRuleBasedTimeZone.java31 private List<TimeZoneRule> historicRules; field in RuleBasedTimeZone
78 if (historicRules == null) { in addTransitionRule()
79 historicRules = new ArrayList<TimeZoneRule>(); in addTransitionRule()
81 historicRules.add(rule); in addTransitionRule()
261 if (historicRules != null && otherRBTZ.historicRules != null) { in hasSameRules()
262 if (historicRules.size() != otherRBTZ.historicRules.size()) { in hasSameRules()
265 for (TimeZoneRule rule : historicRules) { in hasSameRules()
267 for (TimeZoneRule orule : otherRBTZ.historicRules) { in hasSameRules()
277 } else if (historicRules != null || otherRBTZ.historicRules != null) { in hasSameRules()
291 if (historicRules != null) { in getTimeZoneRules()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRuleBasedTimeZone.java30 private List<TimeZoneRule> historicRules; field in RuleBasedTimeZone
81 if (historicRules == null) { in addTransitionRule()
82 historicRules = new ArrayList<TimeZoneRule>(); in addTransitionRule()
84 historicRules.add(rule); in addTransitionRule()
279 if (historicRules != null && otherRBTZ.historicRules != null) { in hasSameRules()
280 if (historicRules.size() != otherRBTZ.historicRules.size()) { in hasSameRules()
283 for (TimeZoneRule rule : historicRules) { in hasSameRules()
285 for (TimeZoneRule orule : otherRBTZ.historicRules) { in hasSameRules()
295 } else if (historicRules != null || otherRBTZ.historicRules != null) { in hasSameRules()
311 if (historicRules != null) { in getTimeZoneRules()
[all …]
/external/icu/icu4c/source/i18n/
Dolsontz.cpp659 historicRules = NULL; in clearTransitionRules()
680 if (historicRules != NULL) { in deleteTransitionRules()
682 if (historicRules[i] != NULL) { in deleteTransitionRules()
683 delete historicRules[i]; in deleteTransitionRules()
686 uprv_free(historicRules); in deleteTransitionRules()
770 if (historicRules == NULL) { in initTransitionRules()
772historicRules = (TimeArrayTimeZoneRule**)uprv_malloc(sizeof(TimeArrayTimeZoneRule*)*historicRuleCo… in initTransitionRules()
773 if (historicRules == NULL) { in initTransitionRules()
781 historicRules[i] = NULL; in initTransitionRules()
784historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
[all …]
Dolsontz.h398 TimeArrayTimeZoneRule **historicRules; variable
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java966 if (historicRules != null) { in getNextTransition()
981 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx + 1])]; in getNextTransition()
982 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx])]; in getNextTransition()
1017 if (historicRules != null) { in getPreviousTransition()
1033 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx])]; in getPreviousTransition()
1034 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx-1])]; in getPreviousTransition()
1056 if (historicRules != null) { in getTimeZoneRules()
1059 for (int i = 0; i < historicRules.length; i++) { in getTimeZoneRules()
1060 if (historicRules[i] != null) { in getTimeZoneRules()
1077 if (historicRules != null) { in getTimeZoneRules()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java968 if (historicRules != null) { in getNextTransition()
983 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx + 1])]; in getNextTransition()
984 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx])]; in getNextTransition()
1019 if (historicRules != null) { in getPreviousTransition()
1035 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx])]; in getPreviousTransition()
1036 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx-1])]; in getPreviousTransition()
1058 if (historicRules != null) { in getTimeZoneRules()
1061 for (int i = 0; i < historicRules.length; i++) { in getTimeZoneRules()
1062 if (historicRules[i] != null) { in getTimeZoneRules()
1079 if (historicRules != null) { in getTimeZoneRules()
[all …]