Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/zone/
DIcuZoneRulesProvider.java226 DateTimeRule dateTimeRule = rule.getRule(); in toZoneOffsetTransitionRule() local
228 Month month = Month.JANUARY.plus(dateTimeRule.getRuleMonth()); in toZoneOffsetTransitionRule()
231 DayOfWeek dayOfWeek = DayOfWeek.SATURDAY.plus(dateTimeRule.getRuleDayOfWeek()); in toZoneOffsetTransitionRule()
232 switch (dateTimeRule.getDateRuleType()) { in toZoneOffsetTransitionRule()
235 dayOfMonthIndicator = dateTimeRule.getRuleDayOfMonth(); in toZoneOffsetTransitionRule()
240 dayOfMonthIndicator = dateTimeRule.getRuleDayOfMonth(); in toZoneOffsetTransitionRule()
246 dayOfMonthIndicator = -month.maxLength() + dateTimeRule.getRuleDayOfMonth() - 1; in toZoneOffsetTransitionRule()
253 "Unexpected date rule type: " + dateTimeRule.getDateRuleType()); in toZoneOffsetTransitionRule()
256 int secondOfDay = (int) TimeUnit.MILLISECONDS.toSeconds(dateTimeRule.getRuleMillisInDay()); in toZoneOffsetTransitionRule()
267 switch (dateTimeRule.getTimeRuleType()) { in toZoneOffsetTransitionRule()
[all …]