Mercurial > hg > CbC > CbC_gcc
comparison gcc/ada/libgnat/a-calend.adb @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
4 -- -- | 4 -- -- |
5 -- A D A . C A L E N D A R -- | 5 -- A D A . C A L E N D A R -- |
6 -- -- | 6 -- -- |
7 -- B o d y -- | 7 -- B o d y -- |
8 -- -- | 8 -- -- |
9 -- Copyright (C) 1992-2018, Free Software Foundation, Inc. -- | 9 -- Copyright (C) 1992-2019, Free Software Foundation, Inc. -- |
10 -- -- | 10 -- -- |
11 -- GNAT is free software; you can redistribute it and/or modify it under -- | 11 -- GNAT is free software; you can redistribute it and/or modify it under -- |
12 -- terms of the GNU General Public License as published by the Free Soft- -- | 12 -- terms of the GNU General Public License as published by the Free Soft- -- |
13 -- ware Foundation; either version 3, or (at your option) any later ver- -- | 13 -- ware Foundation; either version 3, or (at your option) any later ver- -- |
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- | 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- |
36 with System.OS_Primitives; | 36 with System.OS_Primitives; |
37 | 37 |
38 package body Ada.Calendar with | 38 package body Ada.Calendar with |
39 SPARK_Mode => Off | 39 SPARK_Mode => Off |
40 is | 40 is |
41 | |
42 -------------------------- | 41 -------------------------- |
43 -- Implementation Notes -- | 42 -- Implementation Notes -- |
44 -------------------------- | 43 -------------------------- |
45 | 44 |
46 -- In complex algorithms, some variables of type Ada.Calendar.Time carry | 45 -- In complex algorithms, some variables of type Ada.Calendar.Time carry |
155 -- signifies no leap seconds support while a value of one enables support. | 154 -- signifies no leap seconds support while a value of one enables support. |
156 | 155 |
157 Leap_Support : constant Boolean := (Flag = 1); | 156 Leap_Support : constant Boolean := (Flag = 1); |
158 -- Flag to controls the usage of leap seconds in all Ada.Calendar routines | 157 -- Flag to controls the usage of leap seconds in all Ada.Calendar routines |
159 | 158 |
160 Leap_Seconds_Count : constant Natural := 25; | 159 Leap_Seconds_Count : constant Natural := 27; |
161 | 160 |
162 --------------------- | 161 --------------------- |
163 -- Local Constants -- | 162 -- Local Constants -- |
164 --------------------- | 163 --------------------- |
165 | 164 |
234 -4859827181000000000, | 233 -4859827181000000000, |
235 -4812566380000000000, | 234 -4812566380000000000, |
236 -4765132779000000000, | 235 -4765132779000000000, |
237 -4544207978000000000, | 236 -4544207978000000000, |
238 -4449513577000000000, | 237 -4449513577000000000, |
239 -4339180776000000000); | 238 -4339180776000000000, |
239 -4244572775000000000, | |
240 -4197052774000000000); | |
240 | 241 |
241 --------- | 242 --------- |
242 -- "+" -- | 243 -- "+" -- |
243 --------- | 244 --------- |
244 | 245 |