Nadeesh TV
2cfdb95251
8145166: Duration.toString violates specification
...
Correct Duration.toString method
Reviewed-by: rriggs, scolebourne
2016-01-05 10:09:48 -05:00
Ramanand Patil
c6d209b505
8066982: ZonedDateTime.parse() returns wrong ZoneOffset around DST fall transition
...
In Parsed.java the method resolveInstant() is altered such that, the offset (if present) will be given priority over zone.
Reviewed-by: rriggs, scolebourne
2015-12-25 16:43:37 +03:00
Nadeesh TV
6a9a5a80ea
8143413: add toEpochSecond methods for efficient access
...
Reviewed-by: rriggs, scolebourne
2015-12-23 13:19:58 -05:00
Roger Riggs
570ebc4176
8032510: Add java.time.Duration.dividedBy(Duration)
...
Reviewed-by: rriggs, scolebourne
2015-12-16 13:00:29 -05:00
Nadeesh TV
7d2c07c70d
8142936: Add java.time.Duration methods for days, hours, minutes, seconds, etc
...
Reviewed-by: rriggs, scolebourne
2015-12-09 15:27:21 -05:00
Nadeesh TV
31f7efd560
8071919: Add java.time.Clock.tickMillis(ZoneId zone) method
...
Reviewed-by: dfuchs, rriggs, scolebourne
2015-11-17 11:06:46 -05:00
Nadeesh TV
b6d29b4f0b
8072746: LocalDate.isEra() should return IsoEra not Era
...
Reviewed-by: rriggs, scolebourne
2015-11-17 10:44:22 -05:00
Roger Riggs
9322c398b5
8133079: java.time LocalDate and LocalTime ofInstant() factory methods
...
Reviewed-by: rriggs, scolebourne
2015-11-16 15:28:55 -05:00
Nadeesh TV
09c0550556
8054978: java.time.Duration.parse() fails for negative duration with 0 seconds and nanos
...
Reviewed-by: rriggs, scolebourne
2015-11-13 11:52:56 -05:00
Nadeesh TV
5541c558b8
8138664: ZonedDateTime parse error for any date using 'GMT0' ZoneID - Java Bug System
...
Reviewed-by: rriggs, scolebourne, sherman
2015-11-10 14:12:53 -05:00
Nadeesh TV
85378470d9
8134928: java.time.Instant.truncatedTo(TemporalUnit unit) is truncating up if the year < 1970
...
Reviewed-by: rriggs, scolebourne
2015-10-20 13:10:28 -04:00
Roger Riggs
e2f7de320c
8133022: Instant.toEpochMilli() silently overflows
...
Reviewed-by: lancea, chegar, simonis, dfuchs, igerasim
2015-08-06 14:35:04 -04:00
Naoto Sato
a693ebca66
8008577: Use CLDR Locale Data by Default
...
Reviewed-by: erikj, okutsu
2015-06-24 16:42:11 -07:00
Peter Levart
1c2084bafb
8079063: ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds
...
Reviewed-by: rriggs, scolebourne
2015-06-04 10:58:17 +02:00
Roger Riggs
642e0ac6f1
8078369: [testbug] java/time/tck/java/time/TCKOffsetTime[now] fails on slow devices
...
Increase the tolerance between successive calls to now() to 20sec
Reviewed-by: scolebourne, sherman, dfuchs
2015-04-27 16:31:47 -04:00
Xueming Shen
011b337a51
8074406: DateTimeFormatter.appendZoneOrOffsetId() fails to resolve a ZoneOffset for OffsetDateTime
...
To support resolve OffsetDateTime from DTF.appendZoneOrOffset()
Reviewed-by: rriggs
2015-03-07 10:11:03 -08:00
Roger Riggs
ddb472a4dc
8068278: ArrayIndexOutOfBoundsException instead of DateTimeException in j.t.chrono.JapaneseChronology.eraOf()
...
Corrected era range check
Reviewed-by: mchung, lancea
2015-02-03 14:39:57 -05:00
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