30
Time library
[time]
30.11
Time zones
[time.zone]
30.11.8
Class
leap_
second
[time.zone.leap]
30.11.8.2
Member functions
[time.zone.leap.members]
🔗
constexpr
sys_seconds date
(
)
const
noexcept
;
1
#
Returns
: The date and time at which the leap second was inserted
.
🔗
constexpr
seconds value
(
)
const
noexcept
;
2
#
Returns
:
+
1s
to indicate a positive leap second or
-
1s
to indicate a negative leap second
.
[
Note
1
:
All leap seconds inserted up through 2022 were positive leap seconds
.
—
end note
]