| 软件包 | 描述 |
|---|---|
| java.time |
日期、时间、时刻主要的API,和持续时间。
|
| java.time.chrono |
除了默认的标准以外的日历系统的通用的。
|
| java.time.format |
提供打印和解析日期和时间的类。
|
| java.time.temporal |
访问日期和时间的应用领域和单位,时间和日期的调节。
|
| Class and Description |
|---|
| DateTimeFormatter
印刷日期时间对象格式化和解析。
|
| TextStyle
文本格式和解析的样式的枚举。
|
| Class and Description |
|---|
| DateTimeFormatter
印刷日期时间对象格式化和解析。
|
| ResolverStyle
枚举不同的方法来解决日期和时间。
|
| TextStyle
文本格式和解析的样式的枚举。
|
| Class and Description |
|---|
| DateTimeFormatter
印刷日期时间对象格式化和解析。
|
| DateTimeFormatterBuilder
生成器创建日期时间格式。
|
| DecimalStyle
日期和时间格式中使用的本地化的十进制样式。
|
| FormatStyle
对一个本地化的日期样式枚举,时间或日期时间格式。
|
| ResolverStyle
枚举不同的方法来解决日期和时间。
|
| SignStyle
处理正/负符号的方法的枚举。
|
| TextStyle
文本格式和解析的样式的枚举。
|
| Class and Description |
|---|
| ResolverStyle
枚举不同的方法来解决日期和时间。
|
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.