[threeten-dev] hg: threeten/threeten/jdk: 24 new changesets
roger.riggs at oracle.com
roger.riggs at oracle.com
Thu Nov 15 12:25:33 PST 2012
Changeset: d0a447a82dc4
Author: rriggs
Date: 2012-11-15 15:19 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/d0a447a82dc4
Javadoc
! src/share/classes/javax/time/chrono/Chrono.java
Changeset: 741ce03538f3
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/741ce03538f3
Javadoc consistent with equals
! src/share/classes/javax/time/Duration.java
! src/share/classes/javax/time/Instant.java
! src/share/classes/javax/time/LocalDateTime.java
! src/share/classes/javax/time/LocalTime.java
! src/share/classes/javax/time/MonthDay.java
! src/share/classes/javax/time/OffsetDate.java
! src/share/classes/javax/time/OffsetDateTime.java
! src/share/classes/javax/time/OffsetTime.java
! src/share/classes/javax/time/Year.java
! src/share/classes/javax/time/YearMonth.java
! src/share/classes/javax/time/ZoneOffset.java
! src/share/classes/javax/time/ZonedDateTime.java
Changeset: 5f51140eca0a
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/5f51140eca0a
Fix LocalDate comparable/equals across chronologies
See #132
! src/share/classes/javax/time/LocalDate.java
! src/share/classes/javax/time/chrono/Chrono.java
! src/share/classes/javax/time/chrono/ChronoDateImpl.java
! src/share/classes/javax/time/chrono/ChronoLocalDate.java
! src/share/classes/javax/time/chrono/HijrahDate.java
! src/share/classes/javax/time/chrono/JapaneseDate.java
! src/share/classes/javax/time/chrono/MinguoDate.java
! src/share/classes/javax/time/chrono/ThaiBuddhistDate.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDate.java
Changeset: 37844d3e37bd
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/37844d3e37bd
Reorder methods, enhance Javadoc, minor fixes
! src/share/classes/javax/time/LocalDate.java
! src/share/classes/javax/time/LocalDateTime.java
! src/share/classes/javax/time/OffsetDateTime.java
! src/share/classes/javax/time/ZonedDateTime.java
! src/share/classes/javax/time/chrono/ChronoDateImpl.java
! src/share/classes/javax/time/chrono/ChronoLocalDate.java
! src/share/classes/javax/time/chrono/ChronoLocalDateTime.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTime.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTime.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDate.java
Changeset: b20e385d0090
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/b20e385d0090
Fix LocalDateTime comparable/equals across chronologies
See #132
! src/share/classes/javax/time/LocalDateTime.java
! src/share/classes/javax/time/chrono/ChronoDateTimeImpl.java
! src/share/classes/javax/time/chrono/ChronoLocalDateTime.java
+ src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDateTime.java
Changeset: 2dcce80700ec
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/2dcce80700ec
Javadoc chrono classes
! src/share/classes/javax/time/chrono/ChronoLocalDate.java
! src/share/classes/javax/time/chrono/ChronoLocalDateTime.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTime.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTime.java
Changeset: 1a5c3afefb89
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/1a5c3afefb89
Fix OffsetDateTime comparable/equals across chronologies
See #132
! src/share/classes/javax/time/LocalDateTime.java
! src/share/classes/javax/time/OffsetDateTime.java
! src/share/classes/javax/time/chrono/ChronoDateTimeImpl.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTime.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTimeImpl.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDateTime.java
+ src/share/classes/javax/time/jdk8/DefaultInterfaceChronoOffsetDateTime.java
Changeset: 521e25b3bc11
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/521e25b3bc11
Fix ZonedDateTime comparable/equals across chronologies
See #132
! src/share/classes/javax/time/OffsetDateTime.java
! src/share/classes/javax/time/ZonedDateTime.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTime.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTime.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTimeImpl.java
+ src/share/classes/javax/time/jdk8/DefaultInterfaceChronoZonedDateTime.java
! test/javax/time/tck/TCKZonedDateTime.java
Changeset: e22953ef3037
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/e22953ef3037
Javadoc
! src/share/classes/javax/time/chrono/ChronoLocalDate.java
! src/share/classes/javax/time/chrono/ChronoLocalDateTime.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTime.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTime.java
! src/share/classes/javax/time/chrono/ISOChrono.java
! src/share/classes/javax/time/chrono/package.html
! src/share/classes/javax/time/zone/ZoneRulesProvider.java
Changeset: d46e591fa098
Author: rriggs
Date: 2012-11-15 15:20 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/d46e591fa098
Tidy tests
! test/javax/time/tck/TCKDayOfWeek.java
! test/javax/time/tck/TCKDuration.java
! test/javax/time/tck/TCKLocalDateTime.java
! test/javax/time/tck/TCKLocalTime.java
! test/javax/time/tck/TCKMonth.java
! test/javax/time/tck/TCKOffsetDate.java
! test/javax/time/tck/TCKOffsetDateTime.java
! test/javax/time/tck/TCKOffsetTime.java
! test/javax/time/tck/calendrical/TCKDateTimeAdjusters.java
! test/javax/time/tck/calendrical/TCKMonthDay.java
! test/javax/time/tck/calendrical/TCKYear.java
! test/javax/time/tck/calendrical/TCKYearMonth.java
! test/javax/time/tck/format/TCKDateTimeFormatSymbols.java
! test/javax/time/tck/format/TCKDateTimeFormatter.java
! test/javax/time/tck/format/TCKDateTimeFormatters.java
! test/javax/time/tck/format/TCKDateTimePrintException.java
Changeset: 164b11fb1103
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/164b11fb1103
Remove incorrect exception from Javadoc
! src/share/classes/javax/time/LocalTime.java
! src/share/classes/javax/time/MonthDay.java
! src/share/classes/javax/time/OffsetDate.java
! src/share/classes/javax/time/OffsetTime.java
! src/share/classes/javax/time/Year.java
! src/share/classes/javax/time/YearMonth.java
! src/share/classes/javax/time/chrono/ChronoLocalDate.java
! src/share/classes/javax/time/chrono/ChronoLocalDateTime.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTime.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTime.java
Changeset: 3ff61d105f60
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/3ff61d105f60
Update Objects.requireNonNull
! src/share/classes/javax/time/Clock.java
! src/share/classes/javax/time/Duration.java
! src/share/classes/javax/time/Instant.java
! src/share/classes/javax/time/LocalDate.java
! src/share/classes/javax/time/LocalDateTime.java
! src/share/classes/javax/time/LocalTime.java
! src/share/classes/javax/time/MonthDay.java
! src/share/classes/javax/time/OffsetDate.java
! src/share/classes/javax/time/OffsetDateTime.java
! src/share/classes/javax/time/OffsetTime.java
! src/share/classes/javax/time/Period.java
! src/share/classes/javax/time/Year.java
! src/share/classes/javax/time/YearMonth.java
! src/share/classes/javax/time/ZoneId.java
! src/share/classes/javax/time/ZoneOffset.java
! src/share/classes/javax/time/ZonedDateTime.java
! src/share/classes/javax/time/calendrical/DateTimeBuilder.java
! src/share/classes/javax/time/calendrical/WeekDefinition.java
! src/share/classes/javax/time/chrono/Chrono.java
! src/share/classes/javax/time/chrono/ChronoDateTimeImpl.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTimeImpl.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTimeImpl.java
! src/share/classes/javax/time/chrono/HijrahDate.java
! src/share/classes/javax/time/chrono/JapaneseDate.java
! src/share/classes/javax/time/chrono/MinguoDate.java
! src/share/classes/javax/time/chrono/ThaiBuddhistDate.java
! src/share/classes/javax/time/format/DateTimeFormatSymbols.java
! src/share/classes/javax/time/format/DateTimeFormatter.java
! src/share/classes/javax/time/format/DateTimeFormatterBuilder.java
! src/share/classes/javax/time/format/DateTimeFormatters.java
! src/share/classes/javax/time/format/DateTimeParseContext.java
! src/share/classes/javax/time/format/DateTimePrintContext.java
! src/share/classes/javax/time/zone/ZoneOffsetTransition.java
! src/share/classes/javax/time/zone/ZoneOffsetTransitionRule.java
! src/share/classes/javax/time/zone/ZoneResolvers.java
! src/share/classes/javax/time/zone/ZoneRulesBuilder.java
! src/share/classes/javax/time/zone/ZoneRulesProvider.java
! test/javax/time/MockSimplePeriod.java
Changeset: 7761b0358516
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/7761b0358516
Reinstate the toEpochDay() method
Comparisons rely on it. It matches toNanoOfDay() and toEpochSecond().
! src/share/classes/javax/time/LocalDate.java
! src/share/classes/javax/time/OffsetDate.java
! src/share/classes/javax/time/Period.java
! src/share/classes/javax/time/chrono/ChronoDateTimeImpl.java
! src/share/classes/javax/time/chrono/ChronoLocalDate.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTimeImpl.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTimeImpl.java
! src/share/classes/javax/time/chrono/HijrahChrono.java
! src/share/classes/javax/time/chrono/HijrahDate.java
! src/share/classes/javax/time/chrono/ISOChrono.java
! src/share/classes/javax/time/chrono/JapaneseDate.java
! src/share/classes/javax/time/chrono/MinguoDate.java
! src/share/classes/javax/time/chrono/ThaiBuddhistDate.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDate.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDateTime.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoOffsetDateTime.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoZonedDateTime.java
! test/javax/time/TestLocalDate.java
! test/javax/time/tck/TCKLocalDate.java
Changeset: eeb87171bce4
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/eeb87171bce4
Checkstyle, remove warnings
! src/share/classes/javax/time/chrono/ChronoOffsetDateTimeImpl.java
! src/share/classes/javax/time/chrono/ChronoZonedDateTimeImpl.java
! src/share/classes/javax/time/chrono/HijrahDate.java
! src/share/classes/javax/time/chrono/MinguoChrono.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDate.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDateTime.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoOffsetDateTime.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoZonedDateTime.java
+ src/share/classes/javax/time/jdk8/package.html
Changeset: 6b8e70f63535
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/6b8e70f63535
Replace extract() with query()
Fixes #139
! src/share/classes/javax/time/DayOfWeek.java
! src/share/classes/javax/time/LocalDate.java
! src/share/classes/javax/time/LocalDateTime.java
! src/share/classes/javax/time/LocalTime.java
! src/share/classes/javax/time/Month.java
! src/share/classes/javax/time/MonthDay.java
! src/share/classes/javax/time/OffsetDate.java
! src/share/classes/javax/time/OffsetDateTime.java
! src/share/classes/javax/time/OffsetTime.java
! src/share/classes/javax/time/Year.java
! src/share/classes/javax/time/YearMonth.java
! src/share/classes/javax/time/ZoneId.java
! src/share/classes/javax/time/ZonedDateTime.java
! src/share/classes/javax/time/calendrical/DateTimeAccessor.java
! src/share/classes/javax/time/calendrical/DateTimeBuilder.java
! src/share/classes/javax/time/chrono/Chrono.java
! src/share/classes/javax/time/chrono/ChronoDateTimeImpl.java
! src/share/classes/javax/time/chrono/ChronoOffsetDateTimeImpl.java
! src/share/classes/javax/time/format/DateTimeFormatterBuilder.java
! src/share/classes/javax/time/format/DateTimePrintContext.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDate.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoLocalDateTime.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoOffsetDateTime.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceChronoZonedDateTime.java
! src/share/classes/javax/time/jdk8/DefaultInterfaceDateTimeAccessor.java
! test/javax/time/calendrical/MockFieldValue.java
! test/javax/time/format/AbstractTestPrinterParser.java
! test/javax/time/tck/TCKLocalDate.java
! test/javax/time/tck/TCKLocalDateTime.java
! test/javax/time/tck/TCKLocalTime.java
! test/javax/time/tck/TCKOffsetDate.java
! test/javax/time/tck/TCKOffsetDateTime.java
! test/javax/time/tck/TCKOffsetTime.java
! test/javax/time/tck/TCKZonedDateTime.java
Changeset: 541fca5473fa
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/541fca5473fa
Javadoc
! src/share/classes/javax/time/chrono/Chrono.java
! src/share/classes/javax/time/format/DateTimeFormatter.java
! src/share/classes/javax/time/format/DateTimeFormatterBuilder.java
Changeset: b7575dae9ff2
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/b7575dae9ff2
Fix error message
! src/share/classes/javax/time/format/DateTimePrintContext.java
Changeset: 6d53e442a975
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/6d53e442a975
Javadoc year vs year-of-era
! src/share/classes/javax/time/calendrical/LocalDateTimeField.java
Changeset: 8f95015a98d9
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/8f95015a98d9
Javadoc
! src/share/classes/javax/time/chrono/Era.java
Changeset: c72c6e3f61e5
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/c72c6e3f61e5
Fix Javadoc
! src/share/classes/javax/time/Month.java
Changeset: fd1ddb55b3d8
Author: rriggs
Date: 2012-11-15 15:21 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/fd1ddb55b3d8
Enhance Eras
Add DateTimeAccessor (as per DayOfWeek/Month)
Add WithAdjuster (as per DayOfWeek/Month)
Add getText(textStyle,Locale)
Add getChrono()
Add default interface simulator
Fixes #94
! src/share/classes/javax/time/chrono/Era.java
! src/share/classes/javax/time/chrono/HijrahEra.java
! src/share/classes/javax/time/chrono/ISOEra.java
! src/share/classes/javax/time/chrono/JapaneseEra.java
! src/share/classes/javax/time/chrono/MinguoEra.java
! src/share/classes/javax/time/chrono/ThaiBuddhistEra.java
+ src/share/classes/javax/time/jdk8/DefaultInterfaceEra.java
Changeset: 25ca8f5200e4
Author: rriggs
Date: 2012-11-15 15:22 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/25ca8f5200e4
Add getText(TextStyle,Locale) to Chrono
Fixes #100
! src/share/classes/javax/time/chrono/Chrono.java
Changeset: de15c8b5aab6
Author: rriggs
Date: 2012-11-15 15:22 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/de15c8b5aab6
Remove convenience method
getValue() matches DayofWeek/Month/AmPm etc
! src/share/classes/javax/time/Year.java
Changeset: 97fe1dddd3ea
Author: rriggs
Date: 2012-11-15 15:23 -0500
URL: http://hg.openjdk.java.net/threeten/threeten/jdk/rev/97fe1dddd3ea
Checkstyle
! src/share/classes/javax/time/zone/ZoneOffsetTransitionRule.java
More information about the threeten-dev
mailing list