软件包 | 描述 |
---|---|
java.time.temporal |
访问日期和时间的应用领域和单位,时间和日期的调节。
|
Modifier and Type | Method and Description |
---|---|
static ChronoUnit |
ChronoUnit.valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static ChronoUnit[] |
ChronoUnit.values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
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.