Home
last modified time | relevance | path

Searched refs:dateTimeRule (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DAnnualTimeZoneRule.java32 private final DateTimeRule dateTimeRule; field in AnnualTimeZoneRule
54 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
56 this.dateTimeRule = dateTimeRule; in AnnualTimeZoneRule()
70 return dateTimeRule; in getRule()
117 int type = dateTimeRule.getDateRuleType(); in getStartInYear()
120 … ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), dateTimeRule.getRuleDayOfMonth()); in getStartInYear()
124 int weeks = dateTimeRule.getRuleWeekInMonth(); in getStartInYear()
126 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), 1); in getStartInYear()
130 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), in getStartInYear()
131 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DAnnualTimeZoneRule.java34 private final DateTimeRule dateTimeRule; field in AnnualTimeZoneRule
54 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
56 this.dateTimeRule = dateTimeRule; in AnnualTimeZoneRule()
69 return dateTimeRule; in getRule()
111 int type = dateTimeRule.getDateRuleType(); in getStartInYear()
114 … ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), dateTimeRule.getRuleDayOfMonth()); in getStartInYear()
118 int weeks = dateTimeRule.getRuleWeekInMonth(); in getStartInYear()
120 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), 1); in getStartInYear()
124 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), in getStartInYear()
125 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
[all …]
/external/icu/icu4c/source/i18n/
Dtzrule.cpp186 const DateTimeRule& dateTimeRule, in AnnualTimeZoneRule() argument
189 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), in AnnualTimeZoneRule()
196 DateTimeRule* dateTimeRule, in AnnualTimeZoneRule() argument
199 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), in AnnualTimeZoneRule()
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h405 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
424 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);