/external/icu/icu4c/source/i18n/unicode/ |
D | tztrans.h | 24 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;
|
D | tzrule.h | 32 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 …]
|
D | rbtz.h | 102 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…
|
/external/icu/icu4c/source/i18n/ |
D | tzrule.cpp | 33 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 …]
|
D | rbtz.cpp | 28 TimeZoneRule* from; 29 TimeZoneRule* to; 43 TimeZoneRule *r1 = (TimeZoneRule*)rules1->elementAt(i); in compareRules() 44 TimeZoneRule *r2 = (TimeZoneRule*)rules2->elementAt(i); in compareRules() 115 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) { in addTransitionRule() 180 TimeZoneRule *curRule = fInitialRule; in complete() 200 TimeZoneRule *nextRule = NULL; in complete() 201 TimeZoneRule *r = NULL; in complete() 211 r = (TimeZoneRule*)fHistoricRules->elementAt(i); in complete() 247 TimeZoneRule *fr = (TimeZoneRule*)fFinalRules->elementAt(i); in complete() [all …]
|
D | zrule.cpp | 32 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()
|
D | tztrans.cpp | 21 TimeZoneTransition::TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 96 TimeZoneTransition::setFrom(const TimeZoneRule& from) { in setFrom() 104 TimeZoneTransition::adoptFrom(TimeZoneRule* from) { in adoptFrom() 112 TimeZoneTransition::setTo(const TimeZoneRule& to) { in setTo() 120 TimeZoneTransition::adoptTo(TimeZoneRule* to) { in adoptTo() 132 const TimeZoneRule* 137 const TimeZoneRule*
|
D | ztrans.cpp | 28 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()
|
D | dangical.cpp | 110 …TimeZoneRule* rule1897 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1897"), 7*kOneHou… in initDangiCalZoneAstroCalc() 111 …TimeZoneRule* rule1898to1911 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1898-1911")… in initDangiCalZoneAstroCalc() 112 …TimeZoneRule* ruleFrom1912 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1912-"), 9*kO… in initDangiCalZoneAstroCalc()
|
D | basictz.cpp | 294 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()
|
D | simpletz.cpp | 991 result.setFrom((const TimeZoneRule&)*dstRule); in getNextTransition() 992 result.setTo((const TimeZoneRule&)*stdRule); in getNextTransition() 997 result.setFrom((const TimeZoneRule&)*stdRule); in getNextTransition() 998 result.setTo((const TimeZoneRule&)*dstRule); in getNextTransition() 1025 result.setFrom((const TimeZoneRule&)*dstRule); in getPreviousTransition() 1026 result.setTo((const TimeZoneRule&)*stdRule); in getPreviousTransition() 1031 result.setFrom((const TimeZoneRule&)*stdRule); in getPreviousTransition() 1032 result.setTo((const TimeZoneRule&)*dstRule); in getPreviousTransition() 1223 const TimeZoneRule* trsrules[], in getTimeZoneRules()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZoneTransition.java | 17 private final TimeZoneRule from; 18 private final TimeZoneRule to; 29 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { in TimeZoneTransition() 49 public TimeZoneRule getTo() { in getTo() 58 public TimeZoneRule getFrom() { in getFrom()
|
D | RuleBasedTimeZone.java | 29 private List<TimeZoneRule> historicRules; 55 public void addTransitionRule(TimeZoneRule rule) { in addTransitionRule() 77 historicRules = new ArrayList<TimeZoneRule>(); in addTransitionRule() 200 TimeZoneRule toRule = tt.getTo(); in observesDaylightTime() 263 for (TimeZoneRule rule : historicRules) { in hasSameRules() 265 for (TimeZoneRule orule : otherRBTZ.historicRules) { in hasSameRules() 287 public TimeZoneRule[] getTimeZoneRules() { in getTimeZoneRules() 300 TimeZoneRule[] rules = new TimeZoneRule[size]; in getTimeZoneRules() 375 TimeZoneRule from = result.getFrom(); in getNextTransition() 376 TimeZoneRule to = result.getTo(); in getNextTransition() [all …]
|
D | BasicTimeZone.java | 210 public abstract TimeZoneRule[] getTimeZoneRules(); in getTimeZoneRules() 225 public TimeZoneRule[] getTimeZoneRules(long start) { in getTimeZoneRules() 226 TimeZoneRule[] all = getTimeZoneRules(); in getTimeZoneRules() 234 List<TimeZoneRule> filteredRules = new LinkedList<TimeZoneRule>(); in getTimeZoneRules() 237 TimeZoneRule initial = new InitialTimeZoneRule(tzt.getTo().getName(), in getTimeZoneRules() 260 TimeZoneRule toRule = tzt.getTo(); in getTimeZoneRules() 353 TimeZoneRule[] rules = filteredRules.toArray(new TimeZoneRule[filteredRules.size()]); in getTimeZoneRules() 377 public TimeZoneRule[] getSimpleTimeZoneRulesNear(long date) { in getSimpleTimeZoneRulesNear() 379 TimeZoneRule initialRule = null; in getSimpleTimeZoneRulesNear() 509 TimeZoneRule[] result = null; in getSimpleTimeZoneRulesNear() [all …]
|
D | TimeZoneRule.java | 23 public abstract class TimeZoneRule implements Serializable { class 40 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() method in TimeZoneRule 82 public boolean isEquivalentTo(TimeZoneRule other) { in isEquivalentTo()
|
D | DangiCalendar.java | 68 … TimeZoneRule rule1897 = new TimeArrayTimeZoneRule("Korean 1897", 7 * ONE_HOUR, 0, millis1897, 70 …TimeZoneRule rule1898to1911 = new TimeArrayTimeZoneRule("Korean 1898-1911", 8 * ONE_HOUR, 0, milli… 72 … TimeZoneRule ruleFrom1912 = new TimeArrayTimeZoneRule("Korean 1912-", 9 * ONE_HOUR, 0, millis1912,
|
D | InitialTimeZoneRule.java | 19 public class InitialTimeZoneRule extends TimeZoneRule { 39 public boolean isEquivalentTo(TimeZoneRule other) { in isEquivalentTo()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZoneTransition.java | 16 private final TimeZoneRule from; 17 private final TimeZoneRule to; 30 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { in TimeZoneTransition() 54 public TimeZoneRule getTo() { in getTo() 65 public TimeZoneRule getFrom() { in getFrom()
|
D | RuleBasedTimeZone.java | 28 private List<TimeZoneRule> historicRules; 58 public void addTransitionRule(TimeZoneRule rule) { in addTransitionRule() 80 historicRules = new ArrayList<TimeZoneRule>(); in addTransitionRule() 216 TimeZoneRule toRule = tt.getTo(); in observesDaylightTime() 281 for (TimeZoneRule rule : historicRules) { in hasSameRules() 283 for (TimeZoneRule orule : otherRBTZ.historicRules) { in hasSameRules() 307 public TimeZoneRule[] getTimeZoneRules() { in getTimeZoneRules() 320 TimeZoneRule[] rules = new TimeZoneRule[size]; in getTimeZoneRules() 397 TimeZoneRule from = result.getFrom(); in getNextTransition() 398 TimeZoneRule to = result.getTo(); in getNextTransition() [all …]
|
D | BasicTimeZone.java | 219 public abstract TimeZoneRule[] getTimeZoneRules(); in getTimeZoneRules() 236 public TimeZoneRule[] getTimeZoneRules(long start) { in getTimeZoneRules() 237 TimeZoneRule[] all = getTimeZoneRules(); in getTimeZoneRules() 245 List<TimeZoneRule> filteredRules = new LinkedList<TimeZoneRule>(); in getTimeZoneRules() 248 TimeZoneRule initial = new InitialTimeZoneRule(tzt.getTo().getName(), in getTimeZoneRules() 271 TimeZoneRule toRule = tzt.getTo(); in getTimeZoneRules() 364 TimeZoneRule[] rules = filteredRules.toArray(new TimeZoneRule[filteredRules.size()]); in getTimeZoneRules() 390 public TimeZoneRule[] getSimpleTimeZoneRulesNear(long date) { in getSimpleTimeZoneRulesNear() 392 TimeZoneRule initialRule = null; in getSimpleTimeZoneRulesNear() 522 TimeZoneRule[] result = null; in getSimpleTimeZoneRulesNear() [all …]
|
D | TimeZoneRule.java | 22 public abstract class TimeZoneRule implements Serializable { class 41 public TimeZoneRule(String name, int rawOffset, int dstSavings) { in TimeZoneRule() method in TimeZoneRule 91 public boolean isEquivalentTo(TimeZoneRule other) { in isEquivalentTo()
|
D | DangiCalendar.java | 66 … TimeZoneRule rule1897 = new TimeArrayTimeZoneRule("Korean 1897", 7 * ONE_HOUR, 0, millis1897, 68 …TimeZoneRule rule1898to1911 = new TimeArrayTimeZoneRule("Korean 1898-1911", 8 * ONE_HOUR, 0, milli… 70 … TimeZoneRule ruleFrom1912 = new TimeArrayTimeZoneRule("Korean 1912-", 9 * ONE_HOUR, 0, millis1912,
|
D | InitialTimeZoneRule.java | 18 public class InitialTimeZoneRule extends TimeZoneRule { 42 public boolean isEquivalentTo(TimeZoneRule other) { in isEquivalentTo()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | OlsonTimeZone.java | 25 import android.icu.util.TimeZoneRule; 188 TimeZoneRule[] currentRules = getSimpleTimeZoneRulesNear(current); in setRawOffset() 981 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx + 1])]; in getNextTransition() 982 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx])]; in getNextTransition() 1033 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx])]; in getPreviousTransition() 1034 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx-1])]; in getPreviousTransition() 1053 public TimeZoneRule[] getTimeZoneRules() { in getTimeZoneRules() 1073 TimeZoneRule[] rules = new TimeZoneRule[size]; in getTimeZoneRules() 1087 TimeZoneRule[] stzr = finalZoneWithStartYear.getTimeZoneRules(); in getTimeZoneRules() 1185 TimeZoneRule firstFinalRule; in initTransitionRules() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | OlsonTimeZone.java | 24 import com.ibm.icu.util.TimeZoneRule; 186 TimeZoneRule[] currentRules = getSimpleTimeZoneRulesNear(current); in setRawOffset() 979 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx + 1])]; in getNextTransition() 980 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx])]; in getNextTransition() 1031 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx])]; in getPreviousTransition() 1032 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx-1])]; in getPreviousTransition() 1051 public TimeZoneRule[] getTimeZoneRules() { in getTimeZoneRules() 1071 TimeZoneRule[] rules = new TimeZoneRule[size]; in getTimeZoneRules() 1085 TimeZoneRule[] stzr = finalZoneWithStartYear.getTimeZoneRules(); in getTimeZoneRules() 1183 TimeZoneRule firstFinalRule; in initTransitionRules() [all …]
|