diff options
Diffstat (limited to 'gcc/ada/a-calend.ads')
-rw-r--r-- | gcc/ada/a-calend.ads | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/a-calend.ads b/gcc/ada/a-calend.ads index 8c373fd2c93..2bacb9ba823 100644 --- a/gcc/ada/a-calend.ads +++ b/gcc/ada/a-calend.ads @@ -139,7 +139,7 @@ private -- Time is represented as a signed 64 bit integer count of nanoseconds -- since the start of Ada time (1901-01-01 00:00:00.0 UTC). Time values - -- produced by Time_Of are internaly normalized to UTC regardless of their + -- produced by Time_Of are internally normalized to UTC regardless of their -- local time zone. This representation ensures correct handling of leap -- seconds as well as performing arithmetic. In Ada 95, Split and Time_Of -- will treat a time value as being in the local time zone, in Ada 2005, @@ -155,7 +155,7 @@ private -- Due to Earth's slowdown, the astronomical time is not as precise as the -- International Atomic Time. To compensate for this inaccuracy, a single -- leap second is added after the last day of June or December. The count - -- of seconds during those occurences becomes: + -- of seconds during those occurrences becomes: -- ... 58, 59, leap second 60, 0, 1, 2 ... @@ -183,16 +183,16 @@ private -- aggregate generated by xleaps -- The algorithms that build the actual leap second values and discover - -- how many leap seconds have occured between two dates do not need any + -- how many leap seconds have occurred between two dates do not need any -- modification. ------------------------------ - -- Non-leap centenial years -- + -- Non-leap centennial years -- ------------------------------ - -- Over the range of Ada time, centenial years 2100, 2200 and 2300 are + -- Over the range of Ada time, centennial years 2100, 2200 and 2300 are -- non-leap. As a consequence, seven non-leap years occur over the period - -- of year - 4 to year + 4. Internaly, routines Split and Time_Of add or + -- of year - 4 to year + 4. Internally, routines Split and Time_Of add or -- subtract a "fake" February 29 to facilitate the arithmetic involved. -- The underlying type of Time has been chosen to be a 64 bit signed |