Home
last modified time | relevance | path

Searched refs:TimeArrayTimeZoneRule (Results 1 – 25 of 37) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dtzrule.cpp400 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeArrayTimeZoneRule) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
402 TimeArrayTimeZoneRule::TimeArrayTimeZoneRule(const UnicodeString& name, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
416 TimeArrayTimeZoneRule::TimeArrayTimeZoneRule(const TimeArrayTimeZoneRule& source) in TimeArrayTimeZoneRule() function in TimeArrayTimeZoneRule
424 TimeArrayTimeZoneRule::~TimeArrayTimeZoneRule() { in ~TimeArrayTimeZoneRule()
430 TimeArrayTimeZoneRule*
431 TimeArrayTimeZoneRule::clone(void) const { in clone()
432 return new TimeArrayTimeZoneRule(*this); in clone()
436 TimeArrayTimeZoneRule&
437 TimeArrayTimeZoneRule::operator=(const TimeArrayTimeZoneRule& right) { in operator =()
449 TimeArrayTimeZoneRule::operator==(const TimeZoneRule& that) const { in operator ==()
[all …]
Ddangical.cpp112 …TimeZoneRule* rule1897 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1897"), 7*kOneHou… in initDangiCalZoneAstroCalc()
113 …TimeZoneRule* rule1898to1911 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1898-1911")… in initDangiCalZoneAstroCalc()
114 …TimeZoneRule* ruleFrom1912 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1912-"), 9*kO… in initDangiCalZoneAstroCalc()
Dbasictz.cpp400 const TimeArrayTimeZoneRule *tar = dynamic_cast<const TimeArrayTimeZoneRule *>(toRule); in getTimeZoneRulesAfter()
461 TimeArrayTimeZoneRule *newTar = new TimeArrayTimeZoneRule(name, in getTimeZoneRulesAfter()
Dolsontz.cpp772 …historicRules = (TimeArrayTimeZoneRule**)uprv_malloc(sizeof(TimeArrayTimeZoneRule*)*historicRuleCo… in initTransitionRules()
784 … historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
850 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules()
Dolsontz.h398 TimeArrayTimeZoneRule **historicRules;
Dvtzone.cpp734 TimeArrayTimeZoneRule *retVal = nullptr; in createRuleByRDATE()
738 …retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, &start, 1, DateTimeRule::UTC_T… in createRuleByRDATE()
755 …retVal = new TimeArrayTimeZoneRule(zonename, rawOffset, dstSavings, times, size, DateTimeRule::UTC… in createRuleByRDATE()
1705 newRule = new TimeArrayTimeZoneRule( in parse()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeArrayTimeZoneRule.java20 public class TimeArrayTimeZoneRule extends TimeZoneRule { class
43 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() method in TimeArrayTimeZoneRule
129 if (!(other instanceof TimeArrayTimeZoneRule)) { in isEquivalentTo()
132 if (timeType == ((TimeArrayTimeZoneRule)other).timeType in isEquivalentTo()
133 && Arrays.equals(startTimes, ((TimeArrayTimeZoneRule)other).startTimes)) { in isEquivalentTo()
DDangiCalendar.java70 … TimeZoneRule rule1897 = new TimeArrayTimeZoneRule("Korean 1897", 7 * ONE_HOUR, 0, millis1897,
72 …TimeZoneRule rule1898to1911 = new TimeArrayTimeZoneRule("Korean 1898-1911", 8 * ONE_HOUR, 0, milli…
74 … TimeZoneRule ruleFrom1912 = new TimeArrayTimeZoneRule("Korean 1912-", 9 * ONE_HOUR, 0, millis1912,
DBasicTimeZone.java277 if (toRule instanceof TimeArrayTimeZoneRule) { in getTimeZoneRules()
278 TimeArrayTimeZoneRule tar = (TimeArrayTimeZoneRule)toRule; in getTimeZoneRules()
320 TimeArrayTimeZoneRule newtar = new TimeArrayTimeZoneRule( in getTimeZoneRules()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeArrayTimeZoneRule.java19 public class TimeArrayTimeZoneRule extends TimeZoneRule { class
44 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() method in TimeArrayTimeZoneRule
137 if (!(other instanceof TimeArrayTimeZoneRule)) { in isEquivalentTo()
140 if (timeType == ((TimeArrayTimeZoneRule)other).timeType in isEquivalentTo()
141 && Arrays.equals(startTimes, ((TimeArrayTimeZoneRule)other).startTimes)) { in isEquivalentTo()
DDangiCalendar.java68 … 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,
DBasicTimeZone.java286 if (toRule instanceof TimeArrayTimeZoneRule) { in getTimeZoneRules()
287 TimeArrayTimeZoneRule tar = (TimeArrayTimeZoneRule)toRule; in getTimeZoneRules()
329 TimeArrayTimeZoneRule newtar = new TimeArrayTimeZoneRule( in getTimeZoneRules()
/external/icu/libicu/cts_headers/unicode/
Dtzrule.h620 class U_I18N_API TimeArrayTimeZoneRule : public TimeZoneRule {
639 TimeArrayTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
647 TimeArrayTimeZoneRule(const TimeArrayTimeZoneRule& source);
653 virtual ~TimeArrayTimeZoneRule();
661 virtual TimeArrayTimeZoneRule* clone() const;
668 TimeArrayTimeZoneRule& operator=(const TimeArrayTimeZoneRule& right);
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h620 class U_I18N_API TimeArrayTimeZoneRule : public TimeZoneRule {
639 TimeArrayTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
647 TimeArrayTimeZoneRule(const TimeArrayTimeZoneRule& source);
653 virtual ~TimeArrayTimeZoneRule();
661 virtual TimeArrayTimeZoneRule* clone() const;
668 TimeArrayTimeZoneRule& operator=(const TimeArrayTimeZoneRule& right);
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/util/
DExtendedTimeZone.java24 import android.icu.util.TimeArrayTimeZoneRule;
132 NavigableMap<Long, TimeArrayTimeZoneRule> rulesByStartTime = new TreeMap<>(); in createZoneRules()
140 } else if (timeZoneRule instanceof TimeArrayTimeZoneRule) { in createZoneRules()
141 TimeArrayTimeZoneRule timeArrayTimeZoneRule = (TimeArrayTimeZoneRule) timeZoneRule; in createZoneRules()
166 for (Map.Entry<Long, TimeArrayTimeZoneRule> entry : rulesByStartTime.entrySet()) { in createZoneRules()
168 TimeArrayTimeZoneRule timeZoneRule = entry.getValue(); in createZoneRules()
407 private long utcStartTime(long startTime, TimeArrayTimeZoneRule timeZoneRule) { in utcStartTime()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java34 import android.icu.util.TimeArrayTimeZoneRule;
784 TimeArrayTimeZoneRule t0 = null; in TestTimeZoneRuleCoverage()
787 t0 = new TimeArrayTimeZoneRule("nulltimes", -3*HOUR, 0, in TestTimeZoneRuleCoverage()
799 t0 = new TimeArrayTimeZoneRule("nulltimes", -3*HOUR, 0, in TestTimeZoneRuleCoverage()
809TimeArrayTimeZoneRule t1 = new TimeArrayTimeZoneRule("t1", -3*HOUR, 0, trtimes1, DateTimeRule.UTC_… in TestTimeZoneRuleCoverage()
810TimeArrayTimeZoneRule t2 = new TimeArrayTimeZoneRule("t2", -3*HOUR, 0, trtimes1, DateTimeRule.UTC_… in TestTimeZoneRuleCoverage()
811TimeArrayTimeZoneRule t3 = new TimeArrayTimeZoneRule("t3", -3*HOUR, 0, trtimes2, DateTimeRule.UTC_… in TestTimeZoneRuleCoverage()
812TimeArrayTimeZoneRule t4 = new TimeArrayTimeZoneRule("t4", -3*HOUR, 0, trtimes1, DateTimeRule.STAN… in TestTimeZoneRuleCoverage()
813TimeArrayTimeZoneRule t5 = new TimeArrayTimeZoneRule("t5", -4*HOUR, 1*HOUR, trtimes1, DateTimeRule… in TestTimeZoneRuleCoverage()
DTimeZoneTest.java40 import android.icu.util.TimeArrayTimeZoneRule;
2046TimeArrayTimeZoneRule tr1 = new TimeArrayTimeZoneRule("tr1", 7200000, 0, new long[] {0}, DateTimeR… in checkThawed()
2150TimeArrayTimeZoneRule tr1 = new TimeArrayTimeZoneRule("tr1", 7200000, 0, new long[] {0}, DateTimeR… in checkFrozen()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java33 import com.ibm.icu.util.TimeArrayTimeZoneRule;
781 TimeArrayTimeZoneRule t0 = null; in TestTimeZoneRuleCoverage()
784 t0 = new TimeArrayTimeZoneRule("nulltimes", -3*HOUR, 0, in TestTimeZoneRuleCoverage()
796 t0 = new TimeArrayTimeZoneRule("nulltimes", -3*HOUR, 0, in TestTimeZoneRuleCoverage()
806TimeArrayTimeZoneRule t1 = new TimeArrayTimeZoneRule("t1", -3*HOUR, 0, trtimes1, DateTimeRule.UTC_… in TestTimeZoneRuleCoverage()
807TimeArrayTimeZoneRule t2 = new TimeArrayTimeZoneRule("t2", -3*HOUR, 0, trtimes1, DateTimeRule.UTC_… in TestTimeZoneRuleCoverage()
808TimeArrayTimeZoneRule t3 = new TimeArrayTimeZoneRule("t3", -3*HOUR, 0, trtimes2, DateTimeRule.UTC_… in TestTimeZoneRuleCoverage()
809TimeArrayTimeZoneRule t4 = new TimeArrayTimeZoneRule("t4", -3*HOUR, 0, trtimes1, DateTimeRule.STAN… in TestTimeZoneRuleCoverage()
810TimeArrayTimeZoneRule t5 = new TimeArrayTimeZoneRule("t5", -4*HOUR, 1*HOUR, trtimes1, DateTimeRule… in TestTimeZoneRuleCoverage()
DTimeZoneTest.java39 import com.ibm.icu.util.TimeArrayTimeZoneRule;
2043TimeArrayTimeZoneRule tr1 = new TimeArrayTimeZoneRule("tr1", 7200000, 0, new long[] {0}, DateTimeR… in checkThawed()
2147TimeArrayTimeZoneRule tr1 = new TimeArrayTimeZoneRule("tr1", 7200000, 0, new long[] {0}, DateTimeR… in checkFrozen()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java56 import android.icu.util.TimeArrayTimeZoneRule;
380 TimeArrayTimeZoneRule[] rules = new TimeArrayTimeZoneRule[1]; in getTestObjects()
382 … rules[0] = new TimeArrayTimeZoneRule("Foo", 1*HOUR, 1*HOUR, ttime, DateTimeRule.UTC_TIME); in getTestObjects()
388 TimeArrayTimeZoneRule ra = (TimeArrayTimeZoneRule)a; in hasSameBehavior()
389 TimeArrayTimeZoneRule rb = (TimeArrayTimeZoneRule)b; in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java55 import com.ibm.icu.util.TimeArrayTimeZoneRule;
377 TimeArrayTimeZoneRule[] rules = new TimeArrayTimeZoneRule[1]; in getTestObjects()
379 … rules[0] = new TimeArrayTimeZoneRule("Foo", 1*HOUR, 1*HOUR, ttime, DateTimeRule.UTC_TIME); in getTestObjects()
385 TimeArrayTimeZoneRule ra = (TimeArrayTimeZoneRule)a; in hasSameBehavior()
386 TimeArrayTimeZoneRule rb = (TimeArrayTimeZoneRule)b; in hasSameBehavior()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java24 import com.ibm.icu.util.TimeArrayTimeZoneRule;
1090 … rules[idx++] = new TimeArrayTimeZoneRule(getID() + "(STD)", finalZone.getRawOffset(), 0, in getTimeZoneRules()
1101 private transient TimeArrayTimeZoneRule[] historicRules;
1164 historicRules = new TimeArrayTimeZoneRule[typeCount]; in initTransitionRules()
1166 … historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
1200 firstFinalRule = new TimeArrayTimeZoneRule(finalZone.getID(), in initTransitionRules()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java25 import android.icu.util.TimeArrayTimeZoneRule;
1092 … rules[idx++] = new TimeArrayTimeZoneRule(getID() + "(STD)", finalZone.getRawOffset(), 0, in getTimeZoneRules()
1103 private transient TimeArrayTimeZoneRule[] historicRules;
1166 historicRules = new TimeArrayTimeZoneRule[typeCount]; in initTransitionRules()
1168 … historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
1202 firstFinalRule = new TimeArrayTimeZoneRule(finalZone.getID(), in initTransitionRules()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp1234TimeArrayTimeZoneRule *t1 = new TimeArrayTimeZoneRule("t1", -3*HOUR, 0, trtimes1, 1, DateTimeRule:… in TestTimeZoneRuleCoverage()
1235TimeArrayTimeZoneRule *t2 = new TimeArrayTimeZoneRule("t2", -3*HOUR, 0, trtimes1, 1, DateTimeRule:… in TestTimeZoneRuleCoverage()
1236TimeArrayTimeZoneRule *t3 = new TimeArrayTimeZoneRule("t3", -3*HOUR, 0, trtimes2, 2, DateTimeRule:… in TestTimeZoneRuleCoverage()
1237TimeArrayTimeZoneRule *t4 = new TimeArrayTimeZoneRule("t4", -3*HOUR, 0, trtimes1, 1, DateTimeRule:… in TestTimeZoneRuleCoverage()
1238TimeArrayTimeZoneRule *t5 = new TimeArrayTimeZoneRule("t5", -4*HOUR, 1*HOUR, trtimes1, 1, DateTime… in TestTimeZoneRuleCoverage()
1401 TimeArrayTimeZoneRule t0("t0", 4*HOUR, 0, trtimes1, 1, DateTimeRule::UTC_TIME); in TestTimeZoneRuleCoverage()
1409 TimeArrayTimeZoneRule *t0c = t0.clone(); in TestTimeZoneRuleCoverage()
/external/icu/libicu/cts_headers/
Dolsontz.h398 TimeArrayTimeZoneRule **historicRules;

12