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
9166dacb21
8129881: JDK-8008577 breaks Nashorn test
...
8130845: Change to CLDR Locale data in JDK 9 b71 causes SimpleDateFormat parsing errors
8132125: German (Switzerland) formatting broken if CLDR Locale Data is used
Reviewed-by: tbell, okutsu
2015-08-03 21:47:50 -07: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
7b960a2e59
8081022: java/time/test/java/time/format/TestZoneTextPrinterParser.java fails by timeout on slow device
...
Reduce number of iterations to 8 instead of 50
Reviewed-by: naoto
2015-05-27 15:57:10 -04: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
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
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
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
Aleksei Efimov
5e87931875
8049343: (tz) Support tzdata2014g
...
Reviewed-by: mfang, okutsu
2014-09-07 23:04:09 +04: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
Stephen Colebourne
e66fbbceaf
8040058: IsoFields.WEEK_BASED_YEAR adjustInto incorrect and WeekFields.weekOfWeekBasedYear().range incorrect
...
Reviewed-by: lancea, rriggs
2014-04-12 14:54:44 +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
Lana Steuck
657b9db1ba
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
...
Updated files with 2011, 2012 and 2013 years according to the file's last updated date
Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08: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
4741adaaf2
8026842: Remove Time-Zone IDs HST/EST/MST
...
Removed these ids from ZoneId's zid list, supported via short_ids list
Reviewed-by: okutsu
2013-10-21 11:16:02 -07:00
Roger Riggs
d7f0eeb825
8025828: Late binding of Chronology to appendValueReduced
...
Add a listener to the parseContext called when the Chronology changes
Reviewed-by: sherman
2013-10-18 16:37:58 -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
Stephen Colebourne
242f0dd3c2
8025718: Enhance error messages for parsing
...
Add values and types to exception messages
Reviewed-by: lancea
2013-09-26 15:19:27 -07: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
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