Commit Graph

57 Commits

Author SHA1 Message Date
Naoto Sato 372e6e4079 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-03 04:59:17 +01:00
Naoto Sato aff038a218 8042131: DateTimeFormatterBuilder Mapped-values do not work for JapaneseDate
8210633: Cannot parse JapaneseDate string with DateTimeFormatterBuilder Mapped-values

Reviewed-by: clanger
2019-04-03 04:07:00 +01:00
Naoto Sato b1a31731b0 8043387: java/time/test/java/util/TestFormatter.java failed
Do not remove custom IDs from ZoneId test results.

Reviewed-by: sherman
2019-03-06 19:45:24 +00:00
Deepak Kejriwal c1af22053d 8202088: Japanese new era implementation
8207152: Placeholder for Japanese new era should be two characters
8211398: Square character support for the Japanese new era
8180469: Wrong short form text for supplemental Japanese era
8206120: Add test cases for lenient Japanese era parsing
8218915: Change isJavaIdentifierStart and isJavaIdentifierPart to handle new code points
8217710: Add 5 currency code points to Java SE 8uX

Reviewed-by: coffeys, naoto
2019-02-22 14:47:49 +05:30
Deepak kejriwal 3ee2d2e089 8215377: JDK-8171049 Breaks JCK signature tests - Era.getDisplayName doesn't work with non-IsoChronology
Reviewed-by: coffeys, rpatil
2018-12-14 18:11:32 +05:30
Deepak Kejriwal cfa2ab645b 8171049: Era.getDisplayName doesn't work with non-IsoChronology
Reviewed-by: naoto
2018-11-12 14:13:47 +05:30
Ramanand Patil 2b24924799 8195837: (tz) Upgrade time-zone data to tzdata2018c
Reviewed-by: coffeys, naoto
2018-02-05 00:15:08 -08:00
Ivan Gerasimov d6d2c07bcb 8194412: Adding 256 units of IsoFields.QUARTER_YEARS broken
Reviewed-by: scolebourne, rriggs
2018-02-02 13:00:55 -08:00
Ramanand Patil 087f9f7f48 8190258: (tz) Support tzdata2017c
8190259: test tck.java.time.zone.TCKZoneRules is broken by tzdata2017c

Reviewed-by: naoto, martin
2017-11-14 12:28:43 +05:30
Ramanand Patil 18d1e820c2 8166875: (tz) Support tzdata2016g
Reviewed-by: martin, okutsu
2016-10-12 16:29:59 +05:30
Ivan Gerasimov aef63136ed 8164366: ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
Reviewed-by: scolebourne, ntv, coffeys
2016-08-23 21:28:18 +03:00
Ramanand Patil 0e6bfb8818 8151876: (tz) Support tzdata2016d
Reviewed-by: okutsu, coffeys
2016-06-02 21:08:17 +05:30
Rob McKenna adc064816a 8067800: Clarify java.time.chrono.Chronology.isLeapYear for out of range years
Reviewed-by: rriggs
2015-12-04 18:40:59 +00:00
Ivan Gerasimov 8c13eb94c3 8133022: Instant.toEpochMilli() silently overflows
Reviewed-by: lancea, chegar, simonis, dfuchs, igerasim
2015-08-08 03:25:36 +03:00
Ivan Gerasimov e29ffc2f2f 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-08-08 03:23:52 +03:00
Roger Riggs 3159f35eb9 8081022: java/time/test/java/time/format/TestZoneTextPrinterParser.java fails by timeout on slow device
Reduce number of iterations to 8 instead of 50;  add RandomFactory to test library

Reviewed-by: naoto
2015-05-27 15:57:10 -04:00
Aleksei Efimov 3fd6bf1947 8049343: (tz) Support tzdata2014g
Reviewed-by: mfang, okutsu
2014-09-07 23:04:09 +04:00
Stephen Colebourne d0f9ecb769 8046416: Unable to parse an Instant from fields
Fix Instant parsing

Reviewed-by: rriggs
2014-06-11 08:25:33 +01:00
Stephen Colebourne a5363ddf29 8040058: IsoFields.WEEK_BASED_YEAR adjustInto incorrect and WeekFields.weekOfWeekBasedYear().range incorrect
Reviewed-by: lancea, rriggs
2014-04-12 14:54:44 +01:00
Xueming Shen 95bbd054c7 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
Stephen Colebourne 1bfb695d86 8036818: DateTimeFormatter withResolverFields() fails to accept null
Reviewed-by: chegar, rriggs
2014-03-06 17:31:07 +00:00
Stephen Colebourne 74cafa198e 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 f6df964963 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
Lana Steuck 03b4e5d3ba 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 d57c339d79 8030002: Enhance deserialization using readObject
Reviewed-by: sherman, chegar, scolebourne
2013-12-20 13:06:23 -05:00
Roger Riggs e38fccc8fb 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 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