[threeten-dev] hg: threeten/threeten/jdk: 4 new changesets

scolebourne at joda.org scolebourne at joda.org
Tue Feb 19 11:07:21 PST 2013


Changeset: d89b0d612e3c
Author:    scolebourne
Date:      2013-02-19 13:35 +0000
URL:       http://hg.openjdk.java.net/threeten/threeten/jdk/rev/d89b0d612e3c

Fix tests which test implementation, not spec

! test/java/time/tck/java/time/format/TCKDateTimeFormatters.java

Changeset: 88c32995f001
Author:    scolebourne
Date:      2013-02-19 13:39 +0000
URL:       http://hg.openjdk.java.net/threeten/threeten/jdk/rev/88c32995f001

Update internal formatting notes

! src/share/classes/java/time/format/DateTimeFormatterBuilder.java

Changeset: 82829bf82082
Author:    scolebourne
Date:      2013-02-19 15:21 +0000
URL:       http://hg.openjdk.java.net/threeten/threeten/jdk/rev/82829bf82082

Move resolve of year-of-era earlier and into Chronology

Needs to be before non-ChronoField processing, so that WeekFields works
Needs to be in Chronology to allow selection of default era
IsoChronology also gets to have a performance boost
Fixed JapaneseChronology.prolepticYear to be stricter wrt year-of-era

! src/share/classes/java/time/chrono/Chronology.java
! src/share/classes/java/time/chrono/IsoChronology.java
! src/share/classes/java/time/chrono/JapaneseChronology.java
! src/share/classes/java/time/format/DateTimeBuilder.java
! src/share/classes/java/time/format/DateTimeParseContext.java
! src/share/classes/java/time/temporal/ChronoField.java
! test/java/time/tck/java/time/chrono/TestJapaneseChronology.java
! test/java/time/test/java/time/format/TestNonIsoFormatter.java

Changeset: d468d92a8986
Author:    scolebourne
Date:      2013-02-19 15:51 +0000
URL:       http://hg.openjdk.java.net/threeten/threeten/jdk/rev/d468d92a8986

Swap pattern letters y and u

See #138

! src/share/classes/java/time/LocalDate.java
! src/share/classes/java/time/LocalDateTime.java
! src/share/classes/java/time/OffsetDateTime.java
! src/share/classes/java/time/YearMonth.java
! src/share/classes/java/time/format/DateTimeFormatter.java
! src/share/classes/java/time/format/DateTimeFormatterBuilder.java
! test/java/time/tck/java/time/format/TCKLocalizedFieldParser.java
! test/java/time/test/java/time/format/TestDateTimeFormatterBuilder.java



More information about the threeten-dev mailing list