Daniel Fuchs
b5f5424c83
8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
...
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.
Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:48:59 +01:00
Stephen Colebourne
0a8fa1b525
8046416: Unable to parse an Instant from fields
...
Fix Instant parsing
Reviewed-by: rriggs
2014-06-11 08:25:33 +01:00
Roger Riggs
82f7b6b88e
8038823: Missing @Test annotation and copyright in java.time tests
...
Reviewed-by: lancea
2014-04-18 15:37:22 -04:00
Stephen Colebourne
efc809c16a
8036818: DateTimeFormatter withResolverFields() fails to accept null
...
Reviewed-by: chegar, rriggs
2014-03-06 17:31:07 +00:00
Stephen Colebourne
eb34c3be0c
8035099: LocalTime.with(MILLI_OF_DAY/MICRO_OF_DAY) incorrect
...
Correctly zeros low order bits of time when setting milli/micro
Reviewed-by: alanb, rriggs
2014-03-06 17:16:20 +00:00
Stephen Colebourne
88af481e90
8032491: DateTimeFormatter fixed width adjacent value parsing does not match spec
...
Reviewed-by: lancea, rriggs
2014-03-29 15:01:47 -04:00
Stephen Colebourne
a25bcf0ac0
8033662: DateTimeFormatter parsing ignores withZone()
...
To include the set "zone" in resolved result
Reviewed-by: sherman, chegar
2014-03-24 12:47:02 -07:00
Roger Riggs
2b6adb0b44
8029551: Add value-type notice to java.time classes
...
Add warning about identity of value types and reference to ValueBased.html
Reviewed-by: briangoetz, smarks, scolebourne
2013-12-11 16:52:41 -05:00
Roger Riggs
10db5543da
8030002: Enhance deserialization using readObject
...
Reviewed-by: sherman, chegar, scolebourne
2013-12-20 13:06:23 -05:00
Roger Riggs
eeaf2206bb
8024686: Cleanup of java.time serialization source
...
Optimize serialized form of OffsetTime, OffsetDateTime; correct order of modifiers
Reviewed-by: sherman
2013-10-22 15:03:12 -04:00
Xueming Shen
73ccbeb833
8025971: Remove ZoneId.OLD_SHORT_IDS
...
8026197: Slow reading tzdb.dat if the JRE is on a high-latency, remote file system
Removed the compatiblity old short-ids mapping
Reviewed-by: okutsu
2013-10-17 23:43:08 -07:00
Roger Riggs
6532244455
8025722: TemporalAdjusters and TemporalQueries
...
Move static from interfaces methods to supporting classes
Reviewed-by: sherman
2013-10-15 13:14:03 -04:00
Stephen Colebourne
f2ea6795a7
8025719: Change Chronology to an interface
...
Split Chronology and add AbstractChronology
Reviewed-by: darcy
2013-07-09 21:35:04 +01:00
Stephen Colebourne
c11a760a1b
8025720: Separate temporal interface layer
...
Remove ZoneId and Chronology from TemporalField interface
Reviewed-by: sherman
2013-09-26 23:05:29 -07:00
Stephen Colebourne
bc56565f2a
8024076: Incorrect 2 -> 4 year parsing and resolution in DateTimeFormatter
...
Add appendValueReduced method based on a ChronoLocalDate to provide context for the value
Reviewed-by: sherman
2013-10-09 13:34:37 -04:00
Roger Riggs
c9982055b4
8024612: java/time/tck/java/time/format/TCKDateTimeFormatters.java failed
...
The test should be using the Locale.Category.FORMAT to verify the test data
Reviewed-by: lancea
2013-10-09 11:02:55 -04:00
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
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
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
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
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