Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/util/
DAnnualTimeZoneRule.java30 private final DateTimeRule dateTimeRule; field in AnnualTimeZoneRule
50 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
52 this.dateTimeRule = dateTimeRule; in AnnualTimeZoneRule()
64 return dateTimeRule; in getRule()
105 int type = dateTimeRule.getDateRuleType(); in getStartInYear()
108 … ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), dateTimeRule.getRuleDayOfMonth()); in getStartInYear()
112 int weeks = dateTimeRule.getRuleWeekInMonth(); in getStartInYear()
114 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), 1); in getStartInYear()
118 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), in getStartInYear()
119 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DAnnualTimeZoneRule.java30 private final DateTimeRule dateTimeRule; field in AnnualTimeZoneRule
52 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
54 this.dateTimeRule = dateTimeRule; in AnnualTimeZoneRule()
68 return dateTimeRule; in getRule()
115 int type = dateTimeRule.getDateRuleType(); in getStartInYear()
118 … ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), dateTimeRule.getRuleDayOfMonth()); in getStartInYear()
122 int weeks = dateTimeRule.getRuleWeekInMonth(); in getStartInYear()
124 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), 1); in getStartInYear()
128 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), in getStartInYear()
129 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
[all …]
/external/icu/icu4c/source/i18n/
Dtzrule.cpp184 const DateTimeRule& dateTimeRule, in AnnualTimeZoneRule() argument
187 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(new DateTimeRule(dateTimeRule)), in AnnualTimeZoneRule()
194 DateTimeRule* dateTimeRule, in AnnualTimeZoneRule() argument
197 : TimeZoneRule(name, rawOffset, dstSavings), fDateTimeRule(dateTimeRule), in AnnualTimeZoneRule()
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h401 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
420 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);