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.java32 private final DateTimeRule dateTimeRule; field in AnnualTimeZoneRule
52 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
54 this.dateTimeRule = dateTimeRule; in AnnualTimeZoneRule()
66 return dateTimeRule; in getRule()
107 int type = dateTimeRule.getDateRuleType(); in getStartInYear()
110 … ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), dateTimeRule.getRuleDayOfMonth()); in getStartInYear()
114 int weeks = dateTimeRule.getRuleWeekInMonth(); in getStartInYear()
116 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), 1); in getStartInYear()
120 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), in getStartInYear()
121 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
[all …]
/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/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.h403 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
422 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);