[JSR310 M7 Review request] 8007392: JSR310 DateTime API Updates

Xueming Shen xueming.shen at oracle.com
Thu Feb 7 18:31:36 UTC 2013


8007392: JSR 310: DateTime API Updates

Webrev:
http://cr.openjdk.java.net/~sherman/8007392/
http://cr.openjdk.java.net/~sherman/8007392/javadoc

Note:
The Threeten API has been updated based on reviews and continued
development. The main changes included here are

  - Consolidating Chronology classes for local calendars in a
    new java.time.chrono package
  - Merging the localized calendars into java.time.chrono
    (removing package java.time.calendar)
  - Moving Year, YearMonth, MonthDay to java.time
  - Rename DateTimeFormatter print method to format()
  - Move DateTimeFormatters static methods to DateTimeFormatter
  - Redesign/remove DateTimeBuilder class - becomes package private
  - Replace TemporalAdder/Subtractor with TemporalAmount
  - Remove DateTimePrintException
  - Move OffsetDateTime and OffsetTime to java.time package
  - Remove OffsetDate
  - Rename chrono to chronology in class and method names
  - Rename ISO* classes and methods to Iso*
  - Refactor Period to be date based year/month/day
  - Refactor Duration to be time based  h/m/s

Thanks!
-Sherman








More information about the core-libs-dev mailing list