This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User scolebourne | |
# Date 1394124690 0 | |
# Node ID a5bc7c88421b53704ee24c7a7cd003fec3a0cbc2 | |
# Parent 164623eb3a9de2bc6c17831a2eb0e02cad770994 | |
Fix typos and enhance Javadoc | |
diff --git a/src/share/classes/java/time/DayOfWeek.java b/src/share/classes/java/time/DayOfWeek.java | |
--- a/src/share/classes/java/time/DayOfWeek.java | |
+++ b/src/share/classes/java/time/DayOfWeek.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User scolebourne | |
# Date 1394126180 0 | |
# Node ID 5fa8324688fe78e43799053eab88e3e643e1d34b | |
# Parent 39a459cf1bcb80922c4f6b04a46743cd8baf824e | |
JDK-8035099 - LocalTime.with | |
diff --git a/src/share/classes/java/time/LocalTime.java b/src/share/classes/java/time/LocalTime.java | |
--- a/src/share/classes/java/time/LocalTime.java | |
+++ b/src/share/classes/java/time/LocalTime.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User scolebourne | |
# Date 1394127972 0 | |
# Node ID e66f488e6f7fa6a3be8d1254d0c52bda346b9574 | |
# Parent c307f1e300d9d9d620ff17ec22437fc7d4b63592 | |
JDK-8036785 - ChronoLocalDate refers to generics that have been removed | |
diff --git a/src/share/classes/java/time/chrono/ChronoLocalDate.java b/src/share/classes/java/time/chrono/ChronoLocalDate.java | |
--- a/src/share/classes/java/time/chrono/ChronoLocalDate.java | |
+++ b/src/share/classes/java/time/chrono/ChronoLocalDate.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User scolebourne | |
# Date 1394127067 0 | |
# Node ID c307f1e300d9d9d620ff17ec22437fc7d4b63592 | |
# Parent 5fa8324688fe78e43799053eab88e3e643e1d34b | |
JDK-8036818 - DateTimeFormatter withResolverFields() fails to accept null | |
diff --git a/src/share/classes/java/time/format/DateTimeFormatter.java b/src/share/classes/java/time/format/DateTimeFormatter.java | |
--- a/src/share/classes/java/time/format/DateTimeFormatter.java | |
+++ b/src/share/classes/java/time/format/DateTimeFormatter.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User scolebourne | |
# Date 1394626494 0 | |
# Node ID 7b1e9663ed48d903ee6ce1b21e9e9bab8ea17623 | |
# Parent e66f488e6f7fa6a3be8d1254d0c52bda346b9574 | |
JDK-8033662 DateTimeFormatter doesn't set zone when parsing | |
diff --git a/src/share/classes/java/time/format/DateTimeParseContext.java b/src/share/classes/java/time/format/DateTimeParseContext.java | |
--- a/src/share/classes/java/time/format/DateTimeParseContext.java | |
+++ b/src/share/classes/java/time/format/DateTimeParseContext.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Version: 2013h | |
Africa/Abidjan | |
-00:16:08 | |
Z Transition[Gap at 1912-01-01T00:00-00:16:08 to Z] | |
Africa/Accra | |
-00:00:52 | |
Z Transition[Gap at 1918-01-01T00:00-00:00:52 to Z] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/share/classes/java/time/Duration.java b/src/share/classes/java/time/Duration.java | |
--- a/src/share/classes/java/time/Duration.java | |
+++ b/src/share/classes/java/time/Duration.java | |
@@ -62,9 +62,13 @@ | |
package java.time; | |
import static java.time.LocalTime.SECONDS_PER_DAY; | |
+import static java.time.LocalTime.SECONDS_PER_HOUR; | |
+import static java.time.LocalTime.SECONDS_PER_MINUTE; | |
import static java.time.temporal.ChronoField.INSTANT_SECONDS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/share/classes/java/time/ZoneRegion.java b/src/share/classes/java/time/ZoneRegion.java | |
--- a/src/share/classes/java/time/ZoneRegion.java | |
+++ b/src/share/classes/java/time/ZoneRegion.java | |
@@ -146,7 +146,7 @@ | |
ZoneRules rules = null; | |
try { | |
// always attempt load for better behavior after deserialization | |
- rules = ZoneRulesProvider.getRules(zoneId); | |
+ rules = ZoneRulesProvider.getRules(zoneId, true); | |
} catch (ZoneRulesException ex) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/share/classes/java/time/format/DateTimeFormatterBuilder.java b/src/share/classes/java/time/format/DateTimeFormatterBuilder.java | |
--- a/src/share/classes/java/time/format/DateTimeFormatterBuilder.java | |
+++ b/src/share/classes/java/time/format/DateTimeFormatterBuilder.java | |
@@ -110,6 +110,7 @@ | |
import java.util.Set; | |
import java.util.TimeZone; | |
import java.util.concurrent.ConcurrentHashMap; | |
+import java.util.function.Function; | |
import sun.util.locale.provider.TimeZoneNameUtility; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/share/classes/java/time/chrono/ChronoLocalDate.java b/src/share/classes/java/time/chrono/ChronoLocalDate.java | |
--- a/src/share/classes/java/time/chrono/ChronoLocalDate.java | |
+++ b/src/share/classes/java/time/chrono/ChronoLocalDate.java | |
@@ -270,6 +270,39 @@ | |
//----------------------------------------------------------------------- | |
/** | |
+ * Obtains an instance of {@code ChronoLocalDate} from a temporal object. | |
+ * <p> | |
+ * This creates a local date based on the specified temporal. |
OlderNewer