Home
last modified time | relevance | path

Searched refs:InitialTimeZoneRule (Results 1 – 25 of 49) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dzrule.cpp73 return (IZRule*) new InitialTimeZoneRule(s, rawOffset, dstSavings); in izrule_open()
78 delete (InitialTimeZoneRule*)rule; in izrule_close()
83 return (IZRule*) (((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::clone()); in izrule_clone()
88 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals()
95 ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getName(s); in izrule_getName()
104 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getRawOffset(); in izrule_getRawOffset()
109 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getDSTSavings(); in izrule_getDSTSavings()
114 …return ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)r… in izrule_isEquivalentTo()
120 …return ((const InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getFirstStart(prevRawOffset, prevD… in izrule_getFirstStart()
126 …return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getFinalStart(prevRawOffset, prevDSTSavi… in izrule_getFinalStart()
[all …]
Dtzrule.cpp95 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(InitialTimeZoneRule) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
97 InitialTimeZoneRule::InitialTimeZoneRule(const UnicodeString& name, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
103 InitialTimeZoneRule::InitialTimeZoneRule(const InitialTimeZoneRule& source) in InitialTimeZoneRule() function in InitialTimeZoneRule
107 InitialTimeZoneRule::~InitialTimeZoneRule() { in ~InitialTimeZoneRule()
110 InitialTimeZoneRule*
111 InitialTimeZoneRule::clone(void) const { in clone()
112 return new InitialTimeZoneRule(*this); in clone()
115 InitialTimeZoneRule&
116 InitialTimeZoneRule::operator=(const InitialTimeZoneRule& right) { in operator =()
124 InitialTimeZoneRule::operator==(const TimeZoneRule& that) const { in operator ==()
[all …]
Ddangical.cpp111InitialTimeZoneRule* initialTimeZone = new InitialTimeZoneRule(UNICODE_STRING_SIMPLE("GMT+8"), 8*k… in initDangiCalZoneAstroCalc()
Dbasictz.cpp132 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, in getSimpleRulesNear()
274 initial = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleRulesNear()
289 BasicTimeZone::getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, in getTimeZoneRulesAfter()
295 const InitialTimeZoneRule *orgini; in getTimeZoneRulesAfter()
303 InitialTimeZoneRule *res_initial = NULL; in getTimeZoneRulesAfter()
359 res_initial = new InitialTimeZoneRule(name, tzt.getTo()->getRawOffset(), in getTimeZoneRulesAfter()
Dolsontz.h276 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
394 InitialTimeZoneRule *initialRule;
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h200 class U_I18N_API InitialTimeZoneRule : public TimeZoneRule {
211 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
218 InitialTimeZoneRule(const InitialTimeZoneRule& source);
224 virtual ~InitialTimeZoneRule();
232 virtual InitialTimeZoneRule* clone(void) const;
239 InitialTimeZoneRule& operator=(const InitialTimeZoneRule& right);
Dbasictz.h113 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
142 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial,
206 … void getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, UVector*& transitionRules,
Drbtz.h47 RuleBasedTimeZone(const UnicodeString& id, InitialTimeZoneRule* initialRule);
298 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
324 InitialTimeZoneRule *fInitialRule;
Dsimpletz.h43 class InitialTimeZoneRule; variable
754 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
882 InitialTimeZoneRule* initialRule;
/external/icu/android_icu4j/src/main/java/android/icu/util/
DInitialTimeZoneRule.java21 public class InitialTimeZoneRule extends TimeZoneRule { class
34 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() method in InitialTimeZoneRule
43 if (other instanceof InitialTimeZoneRule) { in isEquivalentTo()
DDangiCalendar.java66 InitialTimeZoneRule initialTimeZone = new InitialTimeZoneRule("GMT+8", 8 * ONE_HOUR, 0);
DBasicTimeZone.java241 TimeZoneRule initial = new InitialTimeZoneRule(tzt.getTo().getName(), in getTimeZoneRules()
498 initialRule = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleTimeZoneRulesNear()
503 initialRule = new InitialTimeZoneRule(tr.getTo().getName(), in getSimpleTimeZoneRulesNear()
509 initialRule = new InitialTimeZoneRule(getID(), offsets[0], offsets[1]); in getSimpleTimeZoneRulesNear()
DSimpleTimeZone.java1304 private transient InitialTimeZoneRule initialRule;
1373 initialRule = new InitialTimeZoneRule(getID() + "(DST)", getRawOffset(), in initTransitionRules()
1377 initialRule = new InitialTimeZoneRule(getID() + "(STD)", getRawOffset(), 0); in initTransitionRules()
1383 initialRule = new InitialTimeZoneRule(getID(), getRawOffset(), 0); in initTransitionRules()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DInitialTimeZoneRule.java20 public class InitialTimeZoneRule extends TimeZoneRule { class
35 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() method in InitialTimeZoneRule
46 if (other instanceof InitialTimeZoneRule) { in isEquivalentTo()
DDangiCalendar.java64 InitialTimeZoneRule initialTimeZone = new InitialTimeZoneRule("GMT+8", 8 * ONE_HOUR, 0);
DBasicTimeZone.java250 TimeZoneRule initial = new InitialTimeZoneRule(tzt.getTo().getName(), in getTimeZoneRules()
509 initialRule = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleTimeZoneRulesNear()
514 initialRule = new InitialTimeZoneRule(tr.getTo().getName(), in getSimpleTimeZoneRulesNear()
520 initialRule = new InitialTimeZoneRule(getID(), offsets[0], offsets[1]); in getSimpleTimeZoneRulesNear()
DSimpleTimeZone.java1335 private transient InitialTimeZoneRule initialRule;
1404 initialRule = new InitialTimeZoneRule(getID() + "(DST)", getRawOffset(), in initTransitionRules()
1408 initialRule = new InitialTimeZoneRule(getID() + "(STD)", getRawOffset(), 0); in initTransitionRules()
1414 initialRule = new InitialTimeZoneRule(getID(), getRawOffset(), 0); in initTransitionRules()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java31 import android.icu.util.InitialTimeZoneRule;
66 InitialTimeZoneRule ir = new InitialTimeZoneRule( in TestSimpleRuleBasedTimeZone()
203 rbtz1.addTransitionRule(new InitialTimeZoneRule("Test Initial", 2*HOUR, 0)); in TestSimpleRuleBasedTimeZone()
222 InitialTimeZoneRule ir = new InitialTimeZoneRule("EST", -5*HOUR, 0); in TestHistoricalRuleBasedTimeZone()
371 (InitialTimeZoneRule)rules[0]); in TestRBTZTransition()
725 if (!(rules[0] instanceof InitialTimeZoneRule)) { in TestGetSimpleRules()
729 if (!(rules[0] instanceof InitialTimeZoneRule) in TestGetSimpleRules()
776 InitialTimeZoneRule i1 = new InitialTimeZoneRule("i1", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
777 InitialTimeZoneRule i2 = new InitialTimeZoneRule("i2", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
778 InitialTimeZoneRule i3 = new InitialTimeZoneRule("i3", -3*HOUR, 1*HOUR); in TestTimeZoneRuleCoverage()
[all …]
DTimeZoneOffsetLocalTest.java25 import android.icu.util.InitialTimeZoneRule;
127 InitialTimeZoneRule ir = new InitialTimeZoneRule( in TestGetOffsetAroundTransition()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java30 import com.ibm.icu.util.InitialTimeZoneRule;
63 InitialTimeZoneRule ir = new InitialTimeZoneRule( in TestSimpleRuleBasedTimeZone()
200 rbtz1.addTransitionRule(new InitialTimeZoneRule("Test Initial", 2*HOUR, 0)); in TestSimpleRuleBasedTimeZone()
219 InitialTimeZoneRule ir = new InitialTimeZoneRule("EST", -5*HOUR, 0); in TestHistoricalRuleBasedTimeZone()
368 (InitialTimeZoneRule)rules[0]); in TestRBTZTransition()
722 if (!(rules[0] instanceof InitialTimeZoneRule)) { in TestGetSimpleRules()
726 if (!(rules[0] instanceof InitialTimeZoneRule) in TestGetSimpleRules()
773 InitialTimeZoneRule i1 = new InitialTimeZoneRule("i1", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
774 InitialTimeZoneRule i2 = new InitialTimeZoneRule("i2", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
775 InitialTimeZoneRule i3 = new InitialTimeZoneRule("i3", -3*HOUR, 1*HOUR); in TestTimeZoneRuleCoverage()
[all …]
DTimeZoneOffsetLocalTest.java24 import com.ibm.icu.util.InitialTimeZoneRule;
124 InitialTimeZoneRule ir = new InitialTimeZoneRule( in TestGetOffsetAroundTransition()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp167 InitialTimeZoneRule *ir = new InitialTimeZoneRule( in TestSimpleRuleBasedTimeZone()
410 InitialTimeZoneRule *ir1 = new InitialTimeZoneRule("Test Initial", 2*HOUR, 0); in TestSimpleRuleBasedTimeZone()
438 InitialTimeZoneRule *ir = new InitialTimeZoneRule("EST", -5*HOUR, 0); in TestHistoricalRuleBasedTimeZone()
662 const InitialTimeZoneRule *initial; in TestRBTZTransition()
1120 InitialTimeZoneRule *initial; in TestGetSimpleRules()
1227 InitialTimeZoneRule *i1 = new InitialTimeZoneRule("i1", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
1228 InitialTimeZoneRule *i2 = new InitialTimeZoneRule("i2", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
1229 InitialTimeZoneRule *i3 = new InitialTimeZoneRule("i3", -3*HOUR, 1*HOUR); in TestTimeZoneRuleCoverage()
1357 InitialTimeZoneRule i0("i0", 10*HOUR, 0); in TestTimeZoneRuleCoverage()
1365 InitialTimeZoneRule *i0c = i0.clone(); in TestTimeZoneRuleCoverage()
[all …]
Dtzoffloc.cpp143 InitialTimeZoneRule *ir = new InitialTimeZoneRule( in TestGetOffsetAroundTransition()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java52 import android.icu.util.InitialTimeZoneRule;
268 InitialTimeZoneRule ir = new InitialTimeZoneRule("GMT-5", -5*HOUR, 0); in getTestObjects()
365 rules[0] = new InitialTimeZoneRule("EST", -5*HOUR, 0); in getTestObjects()
366 rules[1] = new InitialTimeZoneRule("PST", -8*HOUR, 0); in getTestObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java51 import com.ibm.icu.util.InitialTimeZoneRule;
265 InitialTimeZoneRule ir = new InitialTimeZoneRule("GMT-5", -5*HOUR, 0); in getTestObjects()
362 rules[0] = new InitialTimeZoneRule("EST", -5*HOUR, 0); in getTestObjects()
363 rules[1] = new InitialTimeZoneRule("PST", -8*HOUR, 0); in getTestObjects()

12