Home
last modified time | relevance | path

Searched refs:AnnualTimeZoneRule (Results 1 – 12 of 12) sorted by relevance

/external/icu4c/i18n/
Dtzrule.cpp176 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(AnnualTimeZoneRule)
178 const int32_t AnnualTimeZoneRule::MAX_YEAR = 0x7FFFFFFF; /* max signed int32 */
180 AnnualTimeZoneRule::AnnualTimeZoneRule(const UnicodeString& name, in AnnualTimeZoneRule() function in AnnualTimeZoneRule
190 AnnualTimeZoneRule::AnnualTimeZoneRule(const UnicodeString& name, in AnnualTimeZoneRule() function in AnnualTimeZoneRule
200 AnnualTimeZoneRule::AnnualTimeZoneRule(const AnnualTimeZoneRule& source) in AnnualTimeZoneRule() function in AnnualTimeZoneRule
205 AnnualTimeZoneRule::~AnnualTimeZoneRule() { in ~AnnualTimeZoneRule()
209 AnnualTimeZoneRule*
210 AnnualTimeZoneRule::clone(void) const { in clone()
211 return new AnnualTimeZoneRule(*this); in clone()
214 AnnualTimeZoneRule&
[all …]
Dbasictz.cpp121 AnnualTimeZoneRule*& std, AnnualTimeZoneRule*& dst, UErrorCode& status) /*const*/ { in getSimpleRulesNear()
131 AnnualTimeZoneRule *ar1 = NULL; in getSimpleRulesNear()
132 AnnualTimeZoneRule *ar2 = NULL; in getSimpleRulesNear()
161 … ar1 = new AnnualTimeZoneRule(name, tr.getTo()->getRawOffset(), tr.getTo()->getDSTSavings(), in getSimpleRulesNear()
162 dtr, year, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear()
180 … ar2 = new AnnualTimeZoneRule(name, tr.getTo()->getRawOffset(), tr.getTo()->getDSTSavings(), in getSimpleRulesNear()
181 dtr, year - 1, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear()
209 … ar2 = new AnnualTimeZoneRule(name, tr.getTo()->getRawOffset(), tr.getTo()->getDSTSavings(), in getSimpleRulesNear()
210 dtr, ar1->getStartYear() - 1, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear()
444 } else if (toRule->getDynamicClassID() == AnnualTimeZoneRule::getStaticClassID()) { in getTimeZoneRulesAfter()
[all …]
Drbtz.cpp116 if (rule->getDynamicClassID() == AnnualTimeZoneRule::getStaticClassID() in addTransitionRule()
117 && ((AnnualTimeZoneRule*)rule)->getEndYear() == AnnualTimeZoneRule::MAX_YEAR) { in addTransitionRule()
617 delete (AnnualTimeZoneRule*)(fFinalRules->orphanElementAt(0)); in deleteRules()
673 AnnualTimeZoneRule* fr0 = (AnnualTimeZoneRule*)fFinalRules->elementAt(0); in findRuleInFinal()
674 AnnualTimeZoneRule* fr1 = (AnnualTimeZoneRule*)fFinalRules->elementAt(1); in findRuleInFinal()
Dvtzone.cpp689 endYear = AnnualTimeZoneRule::MAX_YEAR; in createRuleByRRULE()
707 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
1697 AnnualTimeZoneRule *std = NULL, *dst = NULL; in writeSimple()
1773 AnnualTimeZoneRule *finalDstRule = NULL; in writeZone()
1787 AnnualTimeZoneRule *finalStdRule = NULL; in writeZone()
1814 && tzt.getTo()->getDynamicClassID() == AnnualTimeZoneRule::getStaticClassID()) { in writeZone()
1815 … if (((AnnualTimeZoneRule*)tzt.getTo())->getEndYear() == AnnualTimeZoneRule::MAX_YEAR) { in writeZone()
1816 finalDstRule = (AnnualTimeZoneRule*)tzt.getTo()->clone(); in writeZone()
1865 && tzt.getTo()->getDynamicClassID() == AnnualTimeZoneRule::getStaticClassID()) { in writeZone()
1866 … if (((AnnualTimeZoneRule*)tzt.getTo())->getEndYear() == AnnualTimeZoneRule::MAX_YEAR) { in writeZone()
[all …]
Dsimpletz.cpp1099 dstRule = new AnnualTimeZoneRule(tzid+DST_STR, getRawOffset(), getDSTSavings(), in initTransitionRules()
1100 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
1123 stdRule = new AnnualTimeZoneRule(tzid+STD_STR, getRawOffset(), 0, in initTransitionRules()
1124 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
/external/icu4c/i18n/unicode/
Dtzrule.h376 class U_I18N_API AnnualTimeZoneRule : public TimeZoneRule {
400 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
419 AnnualTimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings,
427 AnnualTimeZoneRule(const AnnualTimeZoneRule& source);
433 virtual ~AnnualTimeZoneRule();
441 virtual AnnualTimeZoneRule* clone(void) const;
448 AnnualTimeZoneRule& operator=(const AnnualTimeZoneRule& right);
Dbasictz.h141 AnnualTimeZoneRule*& std, AnnualTimeZoneRule*& dst, UErrorCode& status) /*const*/;
Dsimpletz.h43 class AnnualTimeZoneRule; variable
879 AnnualTimeZoneRule* stdRule;
880 AnnualTimeZoneRule* dstRule;
Dvtzone.h393 void writeFinalRule(VTZWriter& writer, UBool isDst, const AnnualTimeZoneRule* rule,
/external/icu4c/test/intltest/
Dtzrulets.cpp147 AnnualTimeZoneRule *atzr; in TestSimpleRuleBasedTimeZone()
159 atzr = new AnnualTimeZoneRule("RBTZ_DST1", in TestSimpleRuleBasedTimeZone()
161 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
168 atzr = new AnnualTimeZoneRule("RBTZ_STD1", in TestSimpleRuleBasedTimeZone()
170 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
184 …atzr = new AnnualTimeZoneRule("RBTZ_DST2", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MA… in TestSimpleRuleBasedTimeZone()
191 …atzr = new AnnualTimeZoneRule("RBTZ_STD2", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEA… in TestSimpleRuleBasedTimeZone()
205 …atzr = new AnnualTimeZoneRule("RBTZ_DST3", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MA… in TestSimpleRuleBasedTimeZone()
212 …atzr = new AnnualTimeZoneRule("RBTZ_STD3", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEA… in TestSimpleRuleBasedTimeZone()
379 …atzr = new AnnualTimeZoneRule("3RD_ATZ", -1*HOUR, 2*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_… in TestSimpleRuleBasedTimeZone()
[all …]
Dtzoffloc.cpp149 AnnualTimeZoneRule *atzr; in TestGetOffsetAroundTransition()
154 atzr = new AnnualTimeZoneRule("Pacific Daylight Time", in TestGetOffsetAroundTransition()
156 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestGetOffsetAroundTransition()
165 atzr = new AnnualTimeZoneRule("Pacific Standard Time", in TestGetOffsetAroundTransition()
167 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestGetOffsetAroundTransition()
/external/icu4c/common/unicode/
Durename.h1344 #define AnnualTimeZoneRule AnnualTimeZoneRule_3_8 macro