Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/i18n/
Dzrule.cpp71 return (IZRule*) new InitialTimeZoneRule(s, rawOffset, dstSavings); in izrule_open()
76 delete (InitialTimeZoneRule*)rule; in izrule_close()
81 return (IZRule*) (((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::clone()); in izrule_clone()
86 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals()
93 ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getName(s); in izrule_getName()
102 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getRawOffset(); in izrule_getRawOffset()
107 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getDSTSavings(); in izrule_getDSTSavings()
112 …return ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)r… in izrule_isEquivalentTo()
118 …return ((const InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getFirstStart(prevRawOffset, prevD… in izrule_getFirstStart()
124 …return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getFinalStart(prevRawOffset, prevDSTSavi… in izrule_getFinalStart()
[all …]
Dtzrule.cpp93 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(InitialTimeZoneRule) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
95 InitialTimeZoneRule::InitialTimeZoneRule(const UnicodeString& name, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
101 InitialTimeZoneRule::InitialTimeZoneRule(const InitialTimeZoneRule& source) in InitialTimeZoneRule() function in InitialTimeZoneRule
105 InitialTimeZoneRule::~InitialTimeZoneRule() { in ~InitialTimeZoneRule()
108 InitialTimeZoneRule*
109 InitialTimeZoneRule::clone(void) const { in clone()
110 return new InitialTimeZoneRule(*this); in clone()
113 InitialTimeZoneRule&
114 InitialTimeZoneRule::operator=(const InitialTimeZoneRule& right) { in operator =()
122 InitialTimeZoneRule::operator==(const TimeZoneRule& that) const { in operator ==()
[all …]
Ddangical.cpp109InitialTimeZoneRule* initialTimeZone = new InitialTimeZoneRule(UNICODE_STRING_SIMPLE("GMT+8"), 8*k… in initDangiCalZoneAstroCalc()
Dbasictz.cpp130 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, in getSimpleRulesNear()
272 initial = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleRulesNear()
287 BasicTimeZone::getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, in getTimeZoneRulesAfter()
293 const InitialTimeZoneRule *orgini; in getTimeZoneRulesAfter()
301 InitialTimeZoneRule *res_initial = NULL; in getTimeZoneRulesAfter()
357 res_initial = new InitialTimeZoneRule(name, tzt.getTo()->getRawOffset(), in getTimeZoneRulesAfter()
Dolsontz.h274 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
392 InitialTimeZoneRule *initialRule;
Dsimpletz.cpp1189 …initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDST… in initTransitionRules()
1192 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); in initTransitionRules()
1204 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0); in initTransitionRules()
1222 SimpleTimeZone::getTimeZoneRules(const InitialTimeZoneRule*& initial, in getTimeZoneRules()
Dwintzimpl.cpp40 InitialTimeZoneRule *initial = NULL; in getSystemTimeInformation()
Dolsontz.cpp720 initialRule = new InitialTimeZoneRule((dst == 0 ? stdName : dstName), raw, dst); in initTransitionRules()
1035 OlsonTimeZone::getTimeZoneRules(const InitialTimeZoneRule*& initial, in getTimeZoneRules()
1065 const InitialTimeZoneRule *tmpini; in getTimeZoneRules()
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h198 class U_I18N_API InitialTimeZoneRule : public TimeZoneRule {
209 InitialTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings);
216 InitialTimeZoneRule(const InitialTimeZoneRule& source);
222 virtual ~InitialTimeZoneRule();
230 virtual InitialTimeZoneRule* clone(void) const;
237 InitialTimeZoneRule& operator=(const InitialTimeZoneRule& right);
Dbasictz.h111 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
140 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial,
204 … void getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, UVector*& transitionRules,
Drbtz.h45 RuleBasedTimeZone(const UnicodeString& id, InitialTimeZoneRule* initialRule);
296 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
322 InitialTimeZoneRule *fInitialRule;
Dsimpletz.h41 class InitialTimeZoneRule; variable
750 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
878 InitialTimeZoneRule* initialRule;
Dvtzone.h360 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DInitialTimeZoneRule.java18 public class InitialTimeZoneRule extends TimeZoneRule { class
33 public InitialTimeZoneRule(String name, int rawOffset, int dstSavings) { in InitialTimeZoneRule() method in InitialTimeZoneRule
43 if (other instanceof InitialTimeZoneRule) { in isEquivalentTo()
DDangiCalendar.java62 InitialTimeZoneRule initialTimeZone = new InitialTimeZoneRule("GMT+8", 8 * ONE_HOUR, 0);
DBasicTimeZone.java248 TimeZoneRule initial = new InitialTimeZoneRule(tzt.getTo().getName(), in getTimeZoneRules()
507 initialRule = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleTimeZoneRulesNear()
512 initialRule = new InitialTimeZoneRule(tr.getTo().getName(), in getSimpleTimeZoneRulesNear()
518 initialRule = new InitialTimeZoneRule(getID(), offsets[0], offsets[1]); in getSimpleTimeZoneRulesNear()
DSimpleTimeZone.java1328 private transient InitialTimeZoneRule initialRule;
1397 initialRule = new InitialTimeZoneRule(getID() + "(DST)", getRawOffset(), in initTransitionRules()
1401 initialRule = new InitialTimeZoneRule(getID() + "(STD)", getRawOffset(), 0); in initTransitionRules()
1407 initialRule = new InitialTimeZoneRule(getID(), getRawOffset(), 0); in initTransitionRules()
DRuleBasedTimeZone.java27 private final InitialTimeZoneRule initialRule;
43 public RuleBasedTimeZone(String id, InitialTimeZoneRule initialRule) { in RuleBasedTimeZone()
DVTimeZone.java280 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[0]); in write()
314 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[0]); in writeSimple()
761 InitialTimeZoneRule initialRule = new InitialTimeZoneRule(getDefaultTZName(tzid, false), in parse()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java24 import com.ibm.icu.util.InitialTimeZoneRule;
59 InitialTimeZoneRule ir = new InitialTimeZoneRule( in TestSimpleRuleBasedTimeZone()
196 rbtz1.addTransitionRule(new InitialTimeZoneRule("Test Initial", 2*HOUR, 0)); in TestSimpleRuleBasedTimeZone()
214 InitialTimeZoneRule ir = new InitialTimeZoneRule("EST", -5*HOUR, 0); in TestHistoricalRuleBasedTimeZone()
361 (InitialTimeZoneRule)rules[0]); in TestRBTZTransition()
709 if (!(rules[0] instanceof InitialTimeZoneRule)) { in TestGetSimpleRules()
713 if (!(rules[0] instanceof InitialTimeZoneRule) in TestGetSimpleRules()
759 InitialTimeZoneRule i1 = new InitialTimeZoneRule("i1", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
760 InitialTimeZoneRule i2 = new InitialTimeZoneRule("i2", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
761 InitialTimeZoneRule i3 = new InitialTimeZoneRule("i3", -3*HOUR, 1*HOUR); in TestTimeZoneRuleCoverage()
[all …]
DTimeZoneOffsetLocalTest.java18 import com.ibm.icu.util.InitialTimeZoneRule;
121 InitialTimeZoneRule ir = new InitialTimeZoneRule( in TestGetOffsetAroundTransition()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp164 InitialTimeZoneRule *ir = new InitialTimeZoneRule( in TestSimpleRuleBasedTimeZone()
407 InitialTimeZoneRule *ir1 = new InitialTimeZoneRule("Test Initial", 2*HOUR, 0); in TestSimpleRuleBasedTimeZone()
435 InitialTimeZoneRule *ir = new InitialTimeZoneRule("EST", -5*HOUR, 0); in TestHistoricalRuleBasedTimeZone()
659 const InitialTimeZoneRule *initial; in TestRBTZTransition()
1117 InitialTimeZoneRule *initial; in TestGetSimpleRules()
1224 InitialTimeZoneRule *i1 = new InitialTimeZoneRule("i1", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
1225 InitialTimeZoneRule *i2 = new InitialTimeZoneRule("i2", -3*HOUR, 0); in TestTimeZoneRuleCoverage()
1226 InitialTimeZoneRule *i3 = new InitialTimeZoneRule("i3", -3*HOUR, 1*HOUR); in TestTimeZoneRuleCoverage()
1354 InitialTimeZoneRule i0("i0", 10*HOUR, 0); in TestTimeZoneRuleCoverage()
1362 InitialTimeZoneRule *i0c = i0.clone(); in TestTimeZoneRuleCoverage()
[all …]
Dtzoffloc.cpp141 InitialTimeZoneRule *ir = new InitialTimeZoneRule( in TestGetOffsetAroundTransition()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTest.java33 import com.ibm.icu.util.InitialTimeZoneRule;
235 InitialTimeZoneRule ir = new InitialTimeZoneRule("GMT-5", -5*HOUR, 0); in getTestObjects()
327 rules[0] = new InitialTimeZoneRule("EST", -5*HOUR, 0); in getTestObjects()
328 rules[1] = new InitialTimeZoneRule("PST", -8*HOUR, 0); in getTestObjects()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java20 import com.ibm.icu.util.InitialTimeZoneRule;
1098 private transient InitialTimeZoneRule initialRule;
1127 initialRule = new InitialTimeZoneRule((dst == 0 ? stdName : dstName), raw, dst); in initTransitionRules()

12