Movatterモバイル変換


[0]ホーム

URL:


JEP 150: Date & Time API

AuthorStephen Colebourne
OwnerXueming Shen
TypeFeature
ScopeSE
StatusClosed / Delivered
Release8
Componentcore-libs
JSR310
Discussioncore dash libs dash dev at openjdk dot java dot net
EffortL
DurationL
BlocksJEP 170: JDBC 4.2
DuplicatesJEP 151: Compress Time-Zone Data
Endorsed byBrian Goetz
Created2012/02/22 20:00
Updated2015/01/22 17:18
Issue8046140

Summary

Define a new date, time, and calendar API for the Java SE platform.

Goals

Non-Goals

It is not a goal to solve all date/time problems, but the new API shouldbe a suitable base for external extensions.

Motivation

The existing Java date and time classes are poor, mutable, and haveunpredictable performance. There has been a long-standing desire for abetter date and time API based on the Joda-Time project. The new APIwill have a more intuitive design allowing code to better express itsintent. The classes will also be immutable which aligns with themulti-core direction of the industry.

Description

TheJSR 310 EG has been working on a new date/time API for Javaplatform. The goal of this project is to integrate theJSR 310 reference implementation into JDK 8.

Integration will involve successfully working with any new module system.There may be a need to provide for core embedded and mobile module with asubset of functionality.

The project will also require the JSR 310 classes to be integrated withexisting classes. For example, there should be only one source oftime-zone data in the JDK. It is also intended that the existingformatters will support the new classes.

Testing

No specific requests beyond the normal unit/regression test development.JSR 310 has already developed a large test suite, which is being dividedinto TCK and non-TCK tests.

Risks and Assumptions

The project is primarily implemented by non-Oracle personnel who are notfunded to work full-time on this project.

A review of immutability and thread-safety will be necessary and isassumed.

Dependences

Impact

OpenJDK logo
Installing
Contributing
Sponsoring
Developers' Guide
Vulnerabilities
JDK GA/EA Builds
Mailing lists
Wiki ·IRC
Mastodon
Bluesky
Bylaws ·Census
Legal
Workshop
JEP Process
Source code
GitHub
Mercurial
Tools
Git
jtreg harness
Groups
(overview)
Adoption
Build
Client Libraries
Compatibility & Specification Review
Compiler
Conformance
Core Libraries
Governing Board
HotSpot
IDE Tooling & Support
Internationalization
JMX
Members
Networking
Porters
Quality
Security
Serviceability
Vulnerability
Web
Projects
(overview,archive)
Amber
Babylon
CRaC
Code Tools
Coin
Common VM Interface
Developers' Guide
Device I/O
Duke
Galahad
Graal
IcedTea
JDK 8 Updates
JDK 9
JDK (…,24,25,26)
JDK Updates
JMC
Jigsaw
Kona
Lanai
Leyden
Lilliput
Locale Enhancement
Loom
Memory Model Update
Metropolis
Multi-Language VM
Nashorn
New I/O
OpenJFX
Panama
Penrose
Port: AArch32
Port: AArch64
Port: BSD
Port: Haiku
Port: Mac OS X
Port: MIPS
Port: Mobile
Port: PowerPC/AIX
Port: RISC-V
Port: s390x
SCTP
Shenandoah
Skara
Sumatra
Tsan
Valhalla
Verona
VisualVM
Wakefield
Zero
ZGC
Oracle logo
© 2025 Oracle Corporation and/or its affiliates
Terms of Use · License:GPLv2 ·Privacy ·Trademarks

[8]ページ先頭

©2009-2025 Movatter.jp