Commit Graph

21 Commits

Author SHA1 Message Date
Stephen Colebourne
ea9e3930af 8024834: Better return type for TemporalField resolve
Allow resolve method to return more than just ChronoLocalDate

Reviewed-by: sherman
2013-09-14 22:54:38 +01:00
Stephen Colebourne
2040c66b16 8024807: Add getChronlogy() to CLDT/CZDT
Alternative to method is clunky and hard to find

Reviewed-by: sherman
2013-09-14 22:50:40 +01:00
Stephen Colebourne
c492e4ef1f 8024835: Change until() to accept any compatible temporal
Method until(Temporal,TemporalUnit) now uses from() to convert; Enhance from() methods where necessary

Reviewed-by: sherman
2013-09-14 22:46:49 +01:00
Stephen Colebourne
61fc7dfe0c 8023762: Add ChronoPeriod interface and bind period to Chronology
Make Period ISO-only, adding a Chronology-specific period concept

Reviewed-by: sherman
2013-09-04 15:18:54 +01:00
Roger Riggs
1e581e11ea 8024427: Missing java.time.chrono serialization tests
Add tests and cleanup existing serialization tests

Reviewed-by: sherman
2013-10-03 15:16:14 -04:00
Paul Rank
a4b39faa4f 8024896: Refactor java.time serialization tests into separate subpackage
Move serialization tests to .serial subpackage

Reviewed-by: sherman
2013-08-22 10:01:47 -07:00
Roger Riggs
e763c78a79 8023556: Update javadoc for start of Meiji era
Correct the javadoc in JapaneseEra.MEIJI to match the implementation

Reviewed-by: darcy, sherman
2013-09-14 13:55:06 -04:00
Roger Riggs
e2940a0e25 8023639: Difference between LocalTime.now(Clock.systemDefaultZone()) and LocalTime.now() executed successively is more than 100 000 000 nanoseconds for slow machines
Test timed out on a slow machine; it is not a conformance test and should be in the test subtree

Reviewed-by: darcy, sherman
2013-09-14 13:55:04 -04:00
Roger Riggs
04a877811a 8024618: Issues with French locale on compact1,2: expected:<janvier> but was:<January>
Tests against the data of the French locale are not valid as conformance tests and are redundant with testing of the US Locale above

Reviewed-by: alanb
2013-09-12 10:58:38 -04:00
Roger Riggs
3dc259dd94 8024164: JSR310 serialization should be described in details
The serialized-form.html should specify the stream format for interoperability

Reviewed-by: alanb
2013-09-11 10:16:21 -04:00
Roger Riggs
b23fa14820 8022193: java/time/test/java/util/TestFormatter.java failed in th locale
Tests corrected to use fixed locale and not dependent on the environment

Reviewed-by: sherman
2013-08-16 11:11:00 -04:00
Roger Riggs
a7ac24961a 8022770: java/time/tck/java/time/chrono/TCKChronology.java start failing
8022766: java/time/test/java/time/chrono/TestUmmAlQuraChronology.java failed

TCKChronology: corrected display name to match update from JDK-8015986

Reviewed-by: alanb
2013-08-16 11:28:15 -04:00
Stephen Colebourne
15c6717dac 8015986: Incorrect Localization of HijrahChronology
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: naoto
2013-08-08 13:51:55 +09:00
Roger Riggs
b7c322c198 8021767: test/java/time/tck/java/time/format/TCKFormatStyle.java failing
Correct to use fixed locale, not locale of test environment

Reviewed-by: alanb, okutsu
2013-07-30 14:43:19 -07:00
Stephen Colebourne
711f7a37e0 8016025: JSR 310 DateTime API Updates IV
8020418: Cleanup of -Xlint warnings in java.time
8016623: test/java/time/format/TestDateTimeTextProvider.java failing

Integration of JSR310 Date/Time API update IV

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Co-authored-by: Chand Basha <chand.basha@oracle.com>
Reviewed-by: sherman
2013-07-18 11:02:02 -07:00
Stephen Colebourne
48fc4f5552 8013730: JSR 310 DateTime API Updates III
Integration of JSR310 Date/Time API update III

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Reviewed-by: naoto
2013-05-15 07:48:57 -07:00
Xueming Shen
0872993c6c 8012638: test/java/time/test/java/util/TestFormatter fails in UTC TZ
Updated the offending test case

Reviewed-by: alanb
2013-04-24 21:27:52 +00:00
Roger Riggs
167854b5ab 8009648: Tests fail in -agentvm -concurrency mode
Reviewed-by: alanb
2013-04-18 12:24:55 +01:00
Stephen Colebourne
58af157d96 8011172: JSR 310 DateTime API Updates II
Integration of JSR310 Date/Time API update

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Reviewed-by: alanb, naoto, dholmes
2013-04-12 07:57:35 -07:00
Stephen Colebourne
73c043f49e 8007392: JSR 310: DateTime API Updates
8007520: Update date/time classes in j.util and j.sql packages
8007572: Replace existing jdk timezone data at <java.home>/lib/zi with JSR310's tzdb

Integration of JSR310 Date/Time API for M7

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Reviewed-by: darcy, alanb, naoto
2013-02-12 09:25:43 -08:00
Stephen Colebourne
df4d235c1f 8003680: JSR 310 Date/Time API
Integration of JSR310 Date/Time API for M6

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Richard Warburton <richard.warburton@gmail.com>
Co-authored-by: Michael Nascimento <misterm@gmail.com>
Reviewed-by: alanb, naoto, dholmes
2013-01-22 20:59:21 -08:00