From 8591ae062cd137a6eb2fd6ca48a74344d3f745d8 Mon Sep 17 00:00:00 2001
From: Howard Hinnant
-Returns:
-Returns:
-Returns:
-Returns:
Howard E. Hinnant
-2017-06-19
+2017-06-27
Extending
@@ -59,6 +59,8 @@ Document number: D0355R4<chrono>
to Calendars and Time Zones
Changes since R3
+
zoned_time
default constructor.
@@ -4737,7 +4738,7 @@ constexpr bool year::ok() const noexcept;
true
if *this
represents a leap year, else
-returns false
.
+Effects: Equivalent to: return y_ % 4 == 0 && (y_ % 100 != 0 || y_ % 400 == 0);
@@ -4747,7 +4748,7 @@ static constexpr year year::min() noexcept;
true
.
+Returns: min() <= y_ && y_ <= max()
.
@@ -4757,7 +4758,7 @@ static constexpr year year::max() noexcept;
year{numeric_limits<decltype(y_)>::min()}
.
+Returns: -32767
.
@@ -10491,7 +10492,8 @@ I would also like to thank Jiangang Zhuang and Bjarne Stroustrup for invaluable
feedback for the timezone portion of this library, which ended up also
influencing the date.h library. Thanks also to Jonathan Wakely for agreeing to
present this paper in Oulu for me. Thank you Daniel Krügler for the
-incredibly thorough review.
+incredibly thorough review. Thank you Tomasz Kamiński for the very helpful
+changes to the proposed wording.
year{numeric_limits<decltype(y_)>::max()}
.
+Returns: 32767
.
And I would also especially like to thank the