/external/icu4c/i18n/ |
D | tzrule.cpp | 177 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(AnnualTimeZoneRule) 179 const int32_t AnnualTimeZoneRule::MAX_YEAR = 0x7FFFFFFF; /* max signed int32 */ 181 AnnualTimeZoneRule::AnnualTimeZoneRule(const UnicodeString& name, in AnnualTimeZoneRule() function in AnnualTimeZoneRule 191 AnnualTimeZoneRule::AnnualTimeZoneRule(const UnicodeString& name, in AnnualTimeZoneRule() function in AnnualTimeZoneRule 201 AnnualTimeZoneRule::AnnualTimeZoneRule(const AnnualTimeZoneRule& source) in AnnualTimeZoneRule() function in AnnualTimeZoneRule 206 AnnualTimeZoneRule::~AnnualTimeZoneRule() { in ~AnnualTimeZoneRule() 210 AnnualTimeZoneRule* 211 AnnualTimeZoneRule::clone(void) const { in clone() 212 return new AnnualTimeZoneRule(*this); in clone() 215 AnnualTimeZoneRule& [all …]
|
D | basictz.cpp | 131 AnnualTimeZoneRule*& std, AnnualTimeZoneRule*& dst, UErrorCode& status) /*const*/ { in getSimpleRulesNear() 141 AnnualTimeZoneRule *ar1 = NULL; in getSimpleRulesNear() 142 AnnualTimeZoneRule *ar2 = NULL; in getSimpleRulesNear() 178 ar1 = new AnnualTimeZoneRule(name, initialRaw, tr.getTo()->getDSTSavings(), in getSimpleRulesNear() 179 dtr, year, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear() 198 … ar2 = new AnnualTimeZoneRule(name, tr.getTo()->getRawOffset(), tr.getTo()->getDSTSavings(), in getSimpleRulesNear() 199 dtr, year - 1, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear() 231 ar2 = new AnnualTimeZoneRule(name, initialRaw, initialDst, in getSimpleRulesNear() 232 dtr, ar1->getStartYear() - 1, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear() 399 const AnnualTimeZoneRule *ar; in getTimeZoneRulesAfter() [all …]
|
D | vtzone.cpp | 698 endYear = AnnualTimeZoneRule::MAX_YEAR; in createRuleByRRULE() 716 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE() 1603 AnnualTimeZoneRule *atzrule = dynamic_cast<AnnualTimeZoneRule *>(r); in parse() 1605 if (atzrule->getEndYear() == AnnualTimeZoneRule::MAX_YEAR) { in parse() 1625 AnnualTimeZoneRule *finalRule = (AnnualTimeZoneRule*)rules->elementAt(finalRuleIdx); in parse() 1664 newRule = new AnnualTimeZoneRule( in parse() 1846 AnnualTimeZoneRule *std = NULL, *dst = NULL; in writeSimple() 1922 AnnualTimeZoneRule *finalDstRule = NULL; in writeZone() 1936 AnnualTimeZoneRule *finalStdRule = NULL; in writeZone() 1961 const AnnualTimeZoneRule *atzrule; in writeZone() [all …]
|
D | rbtz.cpp | 118 AnnualTimeZoneRule* atzrule = dynamic_cast<AnnualTimeZoneRule*>(rule); in addTransitionRule() 119 if (atzrule != NULL && atzrule->getEndYear() == AnnualTimeZoneRule::MAX_YEAR) { in addTransitionRule() 622 delete (AnnualTimeZoneRule*)(fFinalRules->orphanElementAt(0)); in deleteRules() 678 AnnualTimeZoneRule* fr0 = (AnnualTimeZoneRule*)fFinalRules->elementAt(0); in findRuleInFinal() 679 AnnualTimeZoneRule* fr1 = (AnnualTimeZoneRule*)fFinalRules->elementAt(1); in findRuleInFinal()
|
D | simpletz.cpp | 1106 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules() 1107 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules() 1144 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, in initTransitionRules() 1145 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
|
D | wintzimpl.cpp | 41 AnnualTimeZoneRule *std = NULL, *dst = NULL; in getSystemTimeInformation()
|
/external/icu4c/i18n/unicode/ |
D | tzrule.h | 376 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);
|
D | basictz.h | 141 AnnualTimeZoneRule*& std, AnnualTimeZoneRule*& dst, UErrorCode& status) /*const*/;
|
D | simpletz.h | 43 class AnnualTimeZoneRule; variable 879 AnnualTimeZoneRule* stdRule; 880 AnnualTimeZoneRule* dstRule;
|
D | vtzone.h | 405 void writeFinalRule(VTZWriter& writer, UBool isDst, const AnnualTimeZoneRule* rule,
|
/external/icu4c/test/intltest/ |
D | tzrulets.cpp | 163 AnnualTimeZoneRule *atzr; in TestSimpleRuleBasedTimeZone() 175 atzr = new AnnualTimeZoneRule("RBTZ_DST1", in TestSimpleRuleBasedTimeZone() 177 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone() 184 atzr = new AnnualTimeZoneRule("RBTZ_STD1", in TestSimpleRuleBasedTimeZone() 186 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone() 200 …atzr = new AnnualTimeZoneRule("RBTZ_DST2", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MA… in TestSimpleRuleBasedTimeZone() 207 …atzr = new AnnualTimeZoneRule("RBTZ_STD2", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEA… in TestSimpleRuleBasedTimeZone() 221 …atzr = new AnnualTimeZoneRule("RBTZ_DST3", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MA… in TestSimpleRuleBasedTimeZone() 228 …atzr = new AnnualTimeZoneRule("RBTZ_STD3", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEA… in TestSimpleRuleBasedTimeZone() 400 …atzr = new AnnualTimeZoneRule("3RD_ATZ", -1*HOUR, 2*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_… in TestSimpleRuleBasedTimeZone() [all …]
|
D | tzoffloc.cpp | 149 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()
|