Searched refs:TimeZoneRule (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dtztrans.h24 class TimeZoneRule;
42 TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to);
115 const TimeZoneRule* getFrom(void) const;
119 * responsible for deleting the <code>TimeZoneRule</code> object.
123 void setFrom(const TimeZoneRule& from);
127 * not delete the <code>TimeZoneRule</code> object passed in.
131 void adoptFrom(TimeZoneRule* from);
135 * responsible for deleting the <code>TimeZoneRule</code> object.
139 void setTo(const TimeZoneRule
[all...]
H A Dtzrule.h26 * <code>TimeZoneRule</code> is a class representing a rule for time zone.
27 * <code>TimeZoneRule</code> has a set of time zone attributes, such as zone name,
32 class U_I18N_API TimeZoneRule : public UObject { class in inherits:UObject
38 virtual ~TimeZoneRule();
41 * Clone this TimeZoneRule object polymorphically. The caller owns the result and
46 virtual TimeZoneRule* clone(void) const = 0;
49 * Return true if the given <code>TimeZoneRule</code> objects are semantically equal. Objects
52 * @return true if the given <code>TimeZoneRule</code> objects are semantically equal.
55 virtual UBool operator==(const TimeZoneRule& that) const;
58 * Return true if the given <code>TimeZoneRule</cod
[all...]
H A Drbtz.h29 * a BasicTimeZone subclass implemented in terms of InitialTimeZoneRule and TimeZoneRule instances
32 * @see TimeZoneRule
88 * Adds the <code>TimeZoneRule</code> which represents time transitions.
89 * The <code>TimeZoneRule</code> must have start times, that is, the result
92 * The input <code>TimeZoneRule</code> is adopted by this
98 * @param rule The <code>TimeZoneRule</code>.
102 void addTransitionRule(TimeZoneRule* rule, UErrorCode& status);
105 * Makes the <code>TimeZoneRule</code> ready to handle actual timezone
271 * Returns the number of <code>TimeZoneRule</code>s which represents time transitions,
272 * for this time zone, that is, all <code>TimeZoneRule</cod
[all...]
H A Dbasictz.h86 * Returns the number of <code>TimeZoneRule</code>s which represents time transitions,
87 * for this time zone, that is, all <code>TimeZoneRule</code>s for this time zone except
90 * @return The number of <code>TimeZoneRule</code>s representing time transitions.
96 * Gets the <code>InitialTimeZoneRule</code> and the set of <code>TimeZoneRule</code>
99 * the array trsrules is filled with 0 or multiple <code>TimeZoneRule</code>
112 const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) const = 0;
198 * Gets the set of TimeZoneRule instances applicable to the specified time and after.
/external/icu/icu4c/source/i18n/unicode/
H A Dtztrans.h24 class TimeZoneRule;
42 TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to);
115 const TimeZoneRule* getFrom(void) const;
119 * responsible for deleting the <code>TimeZoneRule</code> object.
123 void setFrom(const TimeZoneRule& from);
127 * not delete the <code>TimeZoneRule</code> object passed in.
131 void adoptFrom(TimeZoneRule* from);
135 * responsible for deleting the <code>TimeZoneRule</code> object.
139 void setTo(const TimeZoneRule
[all...]
H A Dtzrule.h26 * <code>TimeZoneRule</code> is a class representing a rule for time zone.
27 * <code>TimeZoneRule</code> has a set of time zone attributes, such as zone name,
32 class U_I18N_API TimeZoneRule : public UObject { class in inherits:UObject
38 virtual ~TimeZoneRule();
41 * Clone this TimeZoneRule object polymorphically. The caller owns the result and
46 virtual TimeZoneRule* clone(void) const = 0;
49 * Return true if the given <code>TimeZoneRule</code> objects are semantically equal. Objects
52 * @return true if the given <code>TimeZoneRule</code> objects are semantically equal.
55 virtual UBool operator==(const TimeZoneRule& that) const;
58 * Return true if the given <code>TimeZoneRule</cod
[all...]
H A Drbtz.h29 * a BasicTimeZone subclass implemented in terms of InitialTimeZoneRule and TimeZoneRule instances
32 * @see TimeZoneRule
88 * Adds the <code>TimeZoneRule</code> which represents time transitions.
89 * The <code>TimeZoneRule</code> must have start times, that is, the result
92 * The input <code>TimeZoneRule</code> is adopted by this
98 * @param rule The <code>TimeZoneRule</code>.
102 void addTransitionRule(TimeZoneRule* rule, UErrorCode& status);
105 * Makes the <code>TimeZoneRule</code> ready to handle actual timezone
271 * Returns the number of <code>TimeZoneRule</code>s which represents time transitions,
272 * for this time zone, that is, all <code>TimeZoneRule</cod
[all...]
H A Dbasictz.h86 * Returns the number of <code>TimeZoneRule</code>s which represents time transitions,
87 * for this time zone, that is, all <code>TimeZoneRule</code>s for this time zone except
90 * @return The number of <code>TimeZoneRule</code>s representing time transitions.
96 * Gets the <code>InitialTimeZoneRule</code> and the set of <code>TimeZoneRule</code>
99 * the array trsrules is filled with 0 or multiple <code>TimeZoneRule</code>
112 const TimeZoneRule* trsrules[], int32_t& trscount, UErrorCode& status) const = 0;
198 * Gets the set of TimeZoneRule instances applicable to the specified time and after.
/external/chromium_org/third_party/icu/source/i18n/
H A Dzrule.cpp32 delete (TimeZoneRule*)rule;
37 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2;
43 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s);
51 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset();
56 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings();
61 return ((TimeZoneRule*)rule
[all...]
H A Dztrans.cpp28 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to);
68 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setFrom(*(TimeZoneRule*)from);
73 return ((TimeZoneTransition*)trans)->TimeZoneTransition::adoptFrom((TimeZoneRule*)from);
83 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTo(*(TimeZoneRule*)to);
88 return ((TimeZoneTransition*)trans)->TimeZoneTransition::adoptTo((TimeZoneRule*)to);
H A Dtztrans.cpp21 TimeZoneTransition::TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to)
96 TimeZoneTransition::setFrom(const TimeZoneRule& from) {
104 TimeZoneTransition::adoptFrom(TimeZoneRule* from) {
112 TimeZoneTransition::setTo(const TimeZoneRule& to) {
120 TimeZoneTransition::adoptTo(TimeZoneRule* to) {
132 const TimeZoneRule*
137 const TimeZoneRule*
H A Dtzrule.cpp33 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings)
37 TimeZoneRule::TimeZoneRule(const TimeZoneRule& source)
41 TimeZoneRule::~TimeZoneRule() {
44 TimeZoneRule&
45 TimeZoneRule::operator=(const TimeZoneRule
[all...]
H A Drbtz.cpp28 TimeZoneRule* from;
29 TimeZoneRule* to;
43 TimeZoneRule *r1 = (TimeZoneRule*)rules1->elementAt(i);
44 TimeZoneRule *r2 = (TimeZoneRule*)rules2->elementAt(i);
115 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) {
180 TimeZoneRule *curRule = fInitialRule;
200 TimeZoneRule *nextRule = NULL;
201 TimeZoneRule *
[all...]
H A Ddangical.cpp110 TimeZoneRule* rule1897 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1897"), 7*kOneHour, 0, millis1897, 1, DateTimeRule::STANDARD_TIME);
111 TimeZoneRule* rule1898to1911 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1898-1911"), 8*kOneHour, 0, millis1898, 1, DateTimeRule::STANDARD_TIME);
112 TimeZoneRule* ruleFrom1912 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1912-"), 9*kOneHour, 0, millis1912, 1, DateTimeRule::STANDARD_TIME);
H A Dbasictz.cpp294 const TimeZoneRule **orgtrs = NULL;
299 TimeZoneRule *r = NULL;
319 orgtrs = (const TimeZoneRule**)uprv_malloc(sizeof(TimeZoneRule*)*ruleCount);
362 r = (TimeZoneRule*)orgRules->elementAt(i);
383 const TimeZoneRule *toRule = tzt.getTo();
385 r = (TimeZoneRule*)orgRules->elementAt(i);
507 r = (TimeZoneRule*)orgRules->orphanElementAt(0);
526 r = (TimeZoneRule*)orgRules->orphanElementAt(0);
534 r = (TimeZoneRule*)filteredRule
[all...]
H A Dsimpletz.cpp991 result.setFrom((const TimeZoneRule&)*dstRule);
992 result.setTo((const TimeZoneRule&)*stdRule);
997 result.setFrom((const TimeZoneRule&)*stdRule);
998 result.setTo((const TimeZoneRule&)*dstRule);
1025 result.setFrom((const TimeZoneRule&)*dstRule);
1026 result.setTo((const TimeZoneRule&)*stdRule);
1031 result.setFrom((const TimeZoneRule&)*stdRule);
1032 result.setTo((const TimeZoneRule&)*dstRule);
1110 // Create a TimeZoneRule for daylight saving time
1149 // Create a TimeZoneRule fo
[all...]
H A Dvtzone.cpp25 // This is the deleter that will be use to remove TimeZoneRule
29 delete (TimeZoneRule*) obj;
524 static TimeZoneRule* createRuleByRRULE(const UnicodeString& zonename, int rawOffset, int dstSavings, UDate start,
725 * Create a TimeZoneRule by the RDATE definition
727 static TimeZoneRule* createRuleByRDATE(const UnicodeString& zonename, int32_t rawOffset, int32_t dstSavings,
1244 const TimeZoneRule* trsrules[], int32_t& trscount,
1375 UVector *rules = NULL; // list of TimeZoneRule instances
1384 // Set the deleter to remove TimeZoneRule vectors to avoid memory leaks due to unowned TimeZoneRules.
1505 TimeZoneRule *rule = NULL;
1603 TimeZoneRule *
[all...]
/external/icu/icu4c/source/i18n/
H A Dzrule.cpp32 delete (TimeZoneRule*)rule;
37 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2;
43 s = ((TimeZoneRule*)rule)->TimeZoneRule::getName(s);
51 return ((TimeZoneRule*)rule)->TimeZoneRule::getRawOffset();
56 return ((TimeZoneRule*)rule)->TimeZoneRule::getDSTSavings();
61 return ((TimeZoneRule*)rule
[all...]
H A Dztrans.cpp28 return (ZTrans*) new TimeZoneTransition(time,*(TimeZoneRule*)from,*(TimeZoneRule*)to);
68 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setFrom(*(TimeZoneRule*)from);
73 return ((TimeZoneTransition*)trans)->TimeZoneTransition::adoptFrom((TimeZoneRule*)from);
83 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTo(*(TimeZoneRule*)to);
88 return ((TimeZoneTransition*)trans)->TimeZoneTransition::adoptTo((TimeZoneRule*)to);
H A Dtztrans.cpp21 TimeZoneTransition::TimeZoneTransition(UDate time, const TimeZoneRule& from, const TimeZoneRule& to)
96 TimeZoneTransition::setFrom(const TimeZoneRule& from) {
104 TimeZoneTransition::adoptFrom(TimeZoneRule* from) {
112 TimeZoneTransition::setTo(const TimeZoneRule& to) {
120 TimeZoneTransition::adoptTo(TimeZoneRule* to) {
132 const TimeZoneRule*
137 const TimeZoneRule*
H A Dtzrule.cpp33 TimeZoneRule::TimeZoneRule(const UnicodeString& name, int32_t rawOffset, int32_t dstSavings)
37 TimeZoneRule::TimeZoneRule(const TimeZoneRule& source)
41 TimeZoneRule::~TimeZoneRule() {
44 TimeZoneRule&
45 TimeZoneRule::operator=(const TimeZoneRule
[all...]
H A Drbtz.cpp28 TimeZoneRule* from;
29 TimeZoneRule* to;
43 TimeZoneRule *r1 = (TimeZoneRule*)rules1->elementAt(i);
44 TimeZoneRule *r2 = (TimeZoneRule*)rules2->elementAt(i);
115 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) {
180 TimeZoneRule *curRule = fInitialRule;
200 TimeZoneRule *nextRule = NULL;
201 TimeZoneRule *
[all...]
H A Ddangical.cpp110 TimeZoneRule* rule1897 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1897"), 7*kOneHour, 0, millis1897, 1, DateTimeRule::STANDARD_TIME);
111 TimeZoneRule* rule1898to1911 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1898-1911"), 8*kOneHour, 0, millis1898, 1, DateTimeRule::STANDARD_TIME);
112 TimeZoneRule* ruleFrom1912 = new TimeArrayTimeZoneRule(UNICODE_STRING_SIMPLE("Korean 1912-"), 9*kOneHour, 0, millis1912, 1, DateTimeRule::STANDARD_TIME);
H A Dbasictz.cpp294 const TimeZoneRule **orgtrs = NULL;
299 TimeZoneRule *r = NULL;
319 orgtrs = (const TimeZoneRule**)uprv_malloc(sizeof(TimeZoneRule*)*ruleCount);
362 r = (TimeZoneRule*)orgRules->elementAt(i);
383 const TimeZoneRule *toRule = tzt.getTo();
385 r = (TimeZoneRule*)orgRules->elementAt(i);
507 r = (TimeZoneRule*)orgRules->orphanElementAt(0);
526 r = (TimeZoneRule*)orgRules->orphanElementAt(0);
534 r = (TimeZoneRule*)filteredRule
[all...]
H A Dsimpletz.cpp991 result.setFrom((const TimeZoneRule&)*dstRule);
992 result.setTo((const TimeZoneRule&)*stdRule);
997 result.setFrom((const TimeZoneRule&)*stdRule);
998 result.setTo((const TimeZoneRule&)*dstRule);
1025 result.setFrom((const TimeZoneRule&)*dstRule);
1026 result.setTo((const TimeZoneRule&)*stdRule);
1031 result.setFrom((const TimeZoneRule&)*stdRule);
1032 result.setTo((const TimeZoneRule&)*dstRule);
1110 // Create a TimeZoneRule for daylight saving time
1149 // Create a TimeZoneRule fo
[all...]

Completed in 486 milliseconds

12