84 Commits

Author SHA1 Message Date
Joe Darcy
c6c3ed52eb 8177678: Overstatement of universality of Era.getDisplayName() implementation
Reviewed-by: naoto
2017-03-27 18:38:58 -07:00
Hamlin Li
3f0efdf53e 8176563: @since value errors in apis of java.base/java.logging module
Reviewed-by: alanb, chegar, dfuchs, dholmes, martin, naoto, rriggs
2017-03-15 19:24:56 -07:00
Abjihit Roy
03b01bf748 8171348: Incorrect documentation for DateTimeFormatter letter 'k'
Reviewed-by: rriggs
2016-12-26 23:20:57 +05:30
Abjihit Roy
8249bf7524 8170653: The javadoc of ZoneRules.previousTransition() is wrong
Reviewed-by: rriggs
2016-12-26 23:15:06 +05:30
Abjihit Roy
07c66ef572 8169482: java.time.DateTimeFormatter javadoc: F is not week-of-month
Reviewed-by: rriggs
2016-12-26 22:57:26 +05:30
Roger Riggs
b0e59adb6e 8171940: Incorrect statement about an absolute value of months unit after period's normalization
Reviewed-by: bpb
2016-12-23 13:42:21 -05:00
Nadeesh TV
8f9235fc56 8145633: Adjacent value parsing not supported for Localized Patterns
Enhance the localized weekfields to take part in adjacent value parsing

Reviewed-by: rriggs, scolebourne
2016-12-21 18:45:34 +00:00
Bhanu Prakash Gopularam
4879be16e2 8160036: Java API doc for method minusMonths in LocalDateTime class needs correction
Java API doc needs correction

Reviewed-by: rriggs, scolebourne
2016-12-21 08:12:49 +00:00
Masayoshi Okutsu
b140a35684 8054214: JapaneseEra.getDisplayName doesn't return names if it's an additional era
Reviewed-by: rriggs, naoto
2016-12-15 13:08:01 +09:00
Rachna Goel
0c0db99a87 8075577: java.time does not support HOST provider
Reviewed-by: okutsu, rriggs
2016-12-05 12:53:53 +05:30
Roger Riggs
40644c5ab9 8169527: Typo in getCalendarType() method of Chronology class
Reviewed-by: bpb
2016-11-29 13:58:00 -05:00
Bhanu Prakash Gopularam
86bd9c2fd3 8066291: Return unmodifiable set of zone IDs to optimize ZoneIdPrinterParser
Cache the available zones to speed up parsing

Reviewed-by: rriggs, scolebourne
2016-11-21 06:04:25 +00:00
Anubhav Meena
3f35be7242 8167618: DateTimeFormatter.format() uses exceptions for flow control
Removed flow control in exception catch

Reviewed-by: rriggs, scolebourne
2016-11-17 11:55:59 +00:00
Anubhav Meena
d3d2beed82 8163330: HijrahDate aligned day of week incorrect
Reviewed-by: rriggs, scolebourne
2016-10-21 14:52:04 +05:30
Rachna Goel
8f9823ef6e 8146750: java.time.Month.getDisplayName() return incorrect narrow names with JRE provider on locale de,de_DE,en_US
Reviewed-by: okutsu, rriggs, naoto, peytoia
2016-10-21 11:33:37 +09:00
Roger Riggs
445c99ec2b 8167166: Java API docs mention a non-existent method getNanosOfSecond
Reviewed-by: naoto
2016-10-14 17:15:11 -04:00
Jonathan Bluett-Duncan
a19fc7fbdb 8134373: use collections convenience factories in the JDK
Reviewed-by: scolebourne, prappo, dfuchs, redestad, smarks
2016-10-12 11:54:38 -07:00
Ramanand Patil
4dbca869e0 8166875: (tz) Support tzdata2016g
Reviewed-by: martin, okutsu
2016-10-05 16:39:13 +05:30
Claes Redestad
338343e0e1 8164669: Lazier initialization of java.time
Reviewed-by: scolebourne, chegar, alanb
2016-08-24 13:54:17 +02:00
Ivan Gerasimov
1487578b08 8164366: ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
Reviewed-by: scolebourne, ntv, coffeys
2016-08-22 22:16:54 +03:00
Ivan Gerasimov
4809e92cec 8163180: Typos around @code javadoc tag usage
Reviewed-by: dfuchs
2016-08-04 16:05:37 +03:00
Nadeesh TV
c47c7d8ccf 8160681: LocalDate.ofEpochDay input validation
Change the EpochDay range to [-365243219162L, 365241780471L]

Reviewed-by: rriggs, scolebourne
2016-07-28 11:18:43 +00:00
Nadeesh TV
f7eff31b47 8066806: java.time.format.DateTimeFormatter cannot parse an offset with single digit hour
Added support for single digit hour in offset

Reviewed-by: rriggs, scolebourne
2016-07-28 10:28:21 +00:00
Bhanu Prakash Gopularam
9717ec036b 8159616: java.time.Instant falls through switch statement
Removed the unneeded case statement INSTANT_SECONDS

Reviewed-by: rriggs, scolebourne
2016-07-04 10:50:28 +00:00
Vicente Romero
ec6f5c4bf7 8159530: recent compiler change results in compile error in JapaneseDate.java
Reviewed-by: darcy
2016-06-14 18:19:54 -07:00
Brian Burkhalter
3497da36a2 8023217: Additional floorDiv/floorMod/multiplyExact methods for java.lang.Math
Add new methods with long, int signatures.

Reviewed-by: darcy, scolebourne
2015-09-29 17:28:44 -07:00
Nadeesh TV
6c51be077a 8155823: Add date-time patterns 'v' and 'vvvv'
Addded  necessary methodss

Reviewed-by: rriggs, scolebourne
2016-05-13 18:58:32 +00:00
Bhanu Prakash Gopularam
f2dabbdb6a 8062804: IsoFields WEEK_BASED_YEAR and QUARTER_OF_YEAR too lenient
Addded the necessary chck in IsoFields WEEK_BASED_YEAR and QUARTER_OF_YEAR

Reviewed-by: rriggs, scolebourne
2016-05-11 10:28:23 +00:00
Ivan Gerasimov
fcf085c678 8156661: Handful of typos in javadoc
Reviewed-by: prappo, rriggs
2016-05-10 17:16:55 +03:00
Nadeesh TV
4900a83203 8079628: java.time: DateTimeFormatter containing "DD" fails on 3-digit day-of-year value`
Change the definition of 'DD' to match with CLDR

Reviewed-by: rriggs, scolebourne
2016-05-08 07:46:19 +00:00
Nadeesh TV
386a77fd91 8148949: DateTimeFormatter pattern letters 'A','n','N'
Changed the definition of pattern letters 'A','n','N' because it does not match the definition of CLDR

Reviewed-by: rriggs, scolebourne
2016-05-06 12:48:19 +00:00
Joe Darcy
01ee88c8ae 6850612: Deprecate Class.newInstance since it violates the checked exception language contract
Reviewed-by: lancea, mullan, dfuchs
2016-05-03 10:40:54 -07:00
Nadeesh TV
911f4b1664 8031085: DateTimeFormatter won't parse dates with custom format "yyyyMMddHHmmssSSS"
Changed the FractionPrinterParser to subclass of NumberPrinterParser to make it participate in adjacent value parsing

Reviewed-by: rriggs, scolebourne
2016-04-25 09:37:43 +00:00
Nadeesh TV
d9e44503b4 8148947: DateTimeFormatter pattern letter 'g'
Handled 'g'  in the required places

Reviewed-by: rriggs, scolebourne
2016-04-22 05:46:54 +00:00
Nadeesh TV
183d5aad2e 8154050: java.time.format.DateTimeFormatter can't parse localized zone-offset
Corrected the mistake in calculating parse end position

Reviewed-by: rriggs, scolebourne
2016-04-21 17:51:18 +00:00
Nadeesh TV
f1634255f5 8148849: Truncating Duration
Introduce a new method  to truncatedTo()

Reviewed-by: rriggs, scolebourne
2016-04-13 10:41:27 +00:00
Nadeesh TV
ffd9774362 8148950: Enhance ChronoField Javadoc
Made the suggested changes in the doc.

Reviewed-by: rriggs, scolebourne
2016-04-06 11:45:15 +00:00
Nadeesh TV
63fb402683 8030864: Add an efficient getDateTimeMillis method to java.time
Added epochSecond method in Chronology and overided it in IsoChronology

Reviewed-by: rriggs, scolebourne
2016-04-06 07:20:37 +00:00
Abhijit Roy
9057c75425 8151868: Typo in java.time.Instant until(Temporal endExclusive, TemporalUnit unit)
Reviewed-by: rriggs, lancea, scolebourne
2016-03-23 19:57:42 +05:30
Nadeesh TV
d110d8b320 8032051: "ZonedDateTime" class "parse" method fails with short time zone offset ("+01")
Reviewed-by: rriggs, scolebourne
2016-03-21 14:24:11 -04:00
Roger Riggs
829d62738c 8085887: java.time.format.FormatStyle.LONG or FULL causes unchecked exception
8076528: LocalTime.format() throws exception when FormatStyle is LONG or FULL

Reviewed-by: sherman, scolebourne
2016-03-16 13:16:14 -04:00
Roger Riggs
b16bb1267a 8142539: Incorrect definition of ZoneOffset.MIN
8140211: Example in the Documentation is wrong for java.time.ZonedDateTime.minusHours
8139529: java.time.temporal.ChronoUnit.FOREVER typo

Reviewed-by: lancea, scolebourne
2016-02-11 11:19:03 -05:00
Nadeesh TV
3795972295 8146747: java.time.Duration.toNanos() and toMillis() exception on negative durations
Reviewed-by: rriggs, scolebourne
2016-02-08 09:56:26 -05:00
Tagir F. Valeev
c2f738c53d 8146218: Add LocalDate.datesUntil method producing Stream<LocalDate
Reviewed-by: scolebourne, rriggs, sherman
2016-02-01 10:02:40 -05:00
Nadeesh TV
a67a5265d3 8068803: Performance of LocalDate.plusDays could be better
Reviewed-by: rriggs, scolebourne
2016-01-11 11:39:12 -05:00
Chris Hegarty
aa0ef2e9f5 8145544: Move sun.misc.VM to jdk.internal.misc
Reviewed-by: alanb, mullan, weijun
2016-01-06 10:01:44 +00:00
Nadeesh TV
e49fa68b05 8146489: @since tag missed
Reviewed-by: lancea, rriggs
2016-01-05 14:33:35 -05:00
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