软件包 | 描述 |
---|---|
java.time.zone |
支持时区及其规则。
|
Modifier and Type | Method and Description |
---|---|
static ZoneOffsetTransitionRule |
ZoneOffsetTransitionRule.of(Month month, int dayOfMonthIndicator, DayOfWeek dayOfWeek, LocalTime time, boolean timeEndOfDay, ZoneOffsetTransitionRule.TimeDefinition timeDefnition, ZoneOffset standardOffset, ZoneOffset offsetBefore, ZoneOffset offsetAfter)
获得一个定义年度规则的实例,以创建两个偏移之间的转换。
|
Modifier and Type | Method and Description |
---|---|
List<ZoneOffsetTransitionRule> |
ZoneRules.getTransitionRules()
获取超出过渡列表中定义的数年的过渡规则列表。
|
Modifier and Type | Method and Description |
---|---|
static ZoneRules |
ZoneRules.of(ZoneOffset baseStandardOffset, ZoneOffset baseWallOffset, List<ZoneOffsetTransition> standardOffsetTransitionList, List<ZoneOffsetTransition> transitionList, List<ZoneOffsetTransitionRule> lastRules)
得到一个zonerules实例。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.