Roger Riggs
e2f7de320c
8133022: Instant.toEpochMilli() silently overflows
...
Reviewed-by: lancea, chegar, simonis, dfuchs, igerasim
2015-08-06 14:35:04 -04: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
6c70d53d16
8075678: java.time javadoc error in DateTimeFormatter::parsedLeapSecond
...
8075676: java.time package javadoc typos
8068276: java.time.chrono.HijrahChronology.eraOf() assertions may lead to misunderstanding
Reviewed-by: lancea, scolebourne
2015-05-28 17:37:33 -04:00
Peter Levart
b308a894cf
8074003: java.time.zone.ZoneRules.getOffset(java.time.Instant) can be optimized
...
Make epochSecond part of ZoneOffsetTransition so it doesn't have to be recomputed frequently
Reviewed-by: scolebourne, rriggs
2015-05-04 10:13:19 +02:00
Joe Darcy
d112215fc2
8078467: Update core libraries to use diamond with anonymous classes
...
Reviewed-by: mchung, alanb
2015-04-23 09:32:35 -07:00
Xueming Shen
a0fedc8556
8077640: DateTimeFormatter does not parse/accept the era.toString() result from MinguoEra/ThaiBuddhistEra
...
To parse and accept the era.toString() for era parsing in lenient/smart mode
Reviewed-by: rriggs
2015-04-13 11:15:41 -07:00
Nadeesh TV
1795821684
8076441: Dead code in java.time.chrono.Chronology.isLeapYear after fixing JDK-8067800
...
Reviewed-by: igerasim, rriggs
2015-04-02 14:25:27 -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
Daniel Fuchs
9b5f69fa24
8074032: Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli()
...
Instant.toEpochMilli() now takes into account the sign of the 'seconds' field.
Reviewed-by: rriggs, scolebourne
2015-03-02 14:46:10 +01:00
Daniel Fuchs
2390a77789
8073394: Clock.systemUTC() should return a constant
...
Clock.systemUTC() now returns SystemClock.UTC
Reviewed-by: scolebourne, rriggs, plevart, lancea
2015-02-24 21:51:45 +01:00
Roger Riggs
8d8f34b9a6
8067800: Unexpected DateTimeException in the java.time.chrono.HijrahChronology.isLeapYear
...
Check the year range consistently with other Hijrah date years
Reviewed-by: lancea, scolebourne
2015-02-06 17:29:11 -05: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
Alejandro Murillo
e9c6fa1317
Merge
2015-01-30 16:56:08 -08:00
Roger Riggs
24a3c49404
8068284: Missing @throws in DateTimeFormatterBuilder.appendOffset
...
8068285: Missing @throws in DateTimeFormatterBuilder.appendInstant
8062803: 'principal' should be 'principle' in java.time package description
8062796: java.time.format.DateTimeFormatter error in API doc example
Reviewed-by: lancea, mchung
2015-01-30 16:13: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
Martin Buchholz
08eb67b941
8067377: My hobby: caning, then then canning, the the can-can
...
Fix ALL the stutters!
Reviewed-by: rriggs, mchung, lancea
2014-10-30 07:31:41 -07:00
Roger Riggs
d2c9b82513
8062513: doclint warnings in HijrahChronology
...
Use proper markup for < >
Reviewed-by: darcy, alanb
2014-10-30 09:13:27 -04:00
Roger Riggs
868afbd8bd
8048124: Read hijra-config-umalqura.properties as a resource
...
8061533: HijrahChronology should use Integer.parseInt
Removed use of calendar.properties to configure calendars, move UmmAlQura calendar to resource; minor cleanup using parseInt
Reviewed-by: alanb, chegar
2014-10-27 15:59:12 -04:00
Claes Redestad
1dc4b5e2f8
8055251: Re-examine Integer.parseInt and Long.parseLong methods
...
Reviewed-by: alanb
2014-09-10 13:51:17 +01:00
Chris Hegarty
7d146ee898
Merge
2014-08-18 10:59:36 +01:00
Chris Hegarty
3bc69d393d
8054834: Modular Source Code
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:54:13 +01:00