Skip navigation links
Java™ Platform
Standard Ed. 8

Package java.time.zone

支持时区及其规则。

See: 描述

Package java.time.zone Description

支持时区及其规则。

夏令时间和时区是各国政府改变当地时间的概念。 该包提供对时区,其规则的支持,以及通常由夏令时引起的本地时间线中产生的间隙和重叠。

包装规格

除非另有说明,否则在此包中的任何类或接口中将null参数传递给构造函数或方法将导致抛出NullPointerException Javadoc“@param”定义用于总结空行为。 “@throws NullPointerException ”没有在每个方法中明确记录。

所有计算应检查数字溢出,并抛出ArithmeticExceptionDateTimeException

从以下版本开始:
JDK1.8
Skip navigation links
Java™ Platform
Standard Ed. 8

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.

本帮助文档是使用 《谷歌翻译》翻译,请与英文版配合使用 by--QQ:654638585