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

scolebourne at joda.org scolebourne at joda.org
Sat Sep 14 14:58:38 PDT 2013


Changeset: 055a31aae8b6
Author:    scolebourne
Date:      2013-09-14 22:46 +0100
URL:       http://hg.openjdk.java.net/threeten/threeten/jdk/rev/055a31aae8b6

Change until() to accept any compatible temporal

Method until(Temporal,TemporalUnit) now uses from() to convert
Update Javadoc spec
Enhance from() methods where necessary
Add tests
Fixes GitHub #328

! src/share/classes/java/time/Duration.java
! src/share/classes/java/time/Instant.java
! src/share/classes/java/time/LocalDate.java
! src/share/classes/java/time/LocalDateTime.java
! src/share/classes/java/time/LocalTime.java
! src/share/classes/java/time/MonthDay.java
! src/share/classes/java/time/OffsetDateTime.java
! src/share/classes/java/time/OffsetTime.java
! src/share/classes/java/time/Year.java
! src/share/classes/java/time/YearMonth.java
! src/share/classes/java/time/ZoneOffset.java
! src/share/classes/java/time/ZonedDateTime.java
! src/share/classes/java/time/chrono/ChronoLocalDate.java
! src/share/classes/java/time/chrono/ChronoLocalDateImpl.java
! src/share/classes/java/time/chrono/ChronoLocalDateTime.java
! src/share/classes/java/time/chrono/ChronoLocalDateTimeImpl.java
! src/share/classes/java/time/chrono/ChronoZonedDateTime.java
! src/share/classes/java/time/chrono/ChronoZonedDateTimeImpl.java
! src/share/classes/java/time/temporal/ChronoUnit.java
! src/share/classes/java/time/temporal/IsoFields.java
! src/share/classes/java/time/temporal/Temporal.java
! src/share/classes/java/time/temporal/TemporalUnit.java
! test/java/time/tck/java/time/TCKDuration.java
! test/java/time/tck/java/time/TCKInstant.java
! test/java/time/tck/java/time/TCKLocalDate.java
! test/java/time/tck/java/time/TCKLocalDateTime.java
! test/java/time/tck/java/time/TCKLocalTime.java
! test/java/time/tck/java/time/TCKOffsetDateTime.java
! test/java/time/tck/java/time/TCKOffsetTime.java
! test/java/time/tck/java/time/TCKYear.java
! test/java/time/tck/java/time/TCKYearMonth.java
! test/java/time/tck/java/time/TCKZonedDateTime.java
! test/java/time/tck/java/time/chrono/CopticDate.java
! test/java/time/tck/java/time/temporal/TCKIsoFields.java

Changeset: eff3b24516db
Author:    scolebourne
Date:      2013-09-14 22:50 +0100
URL:       http://hg.openjdk.java.net/threeten/threeten/jdk/rev/eff3b24516db

Add getChronlogy() to CLDT/CZDT

Alternative to method is clunky and hard to find
GitHub #335, JBS #8024807

! src/share/classes/java/time/chrono/ChronoLocalDateTime.java
! src/share/classes/java/time/chrono/ChronoLocalDateTimeImpl.java
! src/share/classes/java/time/chrono/ChronoZonedDateTime.java
! src/share/classes/java/time/chrono/ChronoZonedDateTimeImpl.java
! test/java/time/tck/java/time/chrono/TCKChronoLocalDateTime.java
! test/java/time/tck/java/time/chrono/TCKChronoZonedDateTime.java

Changeset: b7f9218d0f37
Author:    scolebourne
Date:      2013-09-14 22:54 +0100
URL:       http://hg.openjdk.java.net/threeten/threeten/jdk/rev/b7f9218d0f37

Better return type for TemporalField resolve

Allow resolve method to return more than just ChronoLocalDate
GitHub #336, JBS #8024834

! src/share/classes/java/time/format/Parsed.java
! src/share/classes/java/time/temporal/TemporalField.java
! test/java/time/tck/java/time/format/TCKDateTimeParseResolver.java



More information about the threeten-dev mailing list