The following patch updates Ada.Calendar and helper utility Xleaps to
include the leap seconds for years 2015 and 2016.
2018-12-03 Hristian Kirtchev <kirtchev@adacore.com>
gcc/ada/
* libgnat/a-calend.adb: Update the number of leap seconds. Add
the hard time values for year 2015 and 2016.
From-SVN: r266757
+2018-12-03 Hristian Kirtchev <kirtchev@adacore.com>
+
+ * libgnat/a-calend.adb: Update the number of leap seconds. Add
+ the hard time values for year 2015 and 2016.
+
2018-12-03 Gary Dismukes <dismukes@adacore.com>
* exp_ch3.adb, libgnarl/s-taasde.adb, libgnarl/s-taenca.adb,
package body Ada.Calendar with
SPARK_Mode => Off
is
-
--------------------------
-- Implementation Notes --
--------------------------
Leap_Support : constant Boolean := (Flag = 1);
-- Flag to controls the usage of leap seconds in all Ada.Calendar routines
- Leap_Seconds_Count : constant Natural := 25;
+ Leap_Seconds_Count : constant Natural := 27;
---------------------
-- Local Constants --
-4765132779000000000,
-4544207978000000000,
-4449513577000000000,
- -4339180776000000000);
+ -4339180776000000000,
+ -4244572775000000000,
+ -4197052774000000000);
---------
-- "+" --