ASE2 CARD CATALOG ENTRY |
Instructions:
Ada System Certifier_1 1.0 Date/Time of Processing: Wednesday 25 May 1994 04:18:49Pm Overall Assessment of System: OK Classification of System: A Basis of Classification -- Syntax Errors PASS Completeness PASS Independence from External Libraries PASS Independence from a Specific Ada Compiler PASS Number of ... Files 1 Library Units 6 Lines 1913 Statements 494 Comments 782
This generic package provides arithmetic and logical operations for dates. It strongly parallels the required CALENDAR package, but differs primarily in the range of dates handled. Like CALENDAR, routines such as SPLIT, MONTH, DAY, and YEAR are available.
The differences between this package and CALENDAR are reflected in the range of dates, the inclusion of a DAY_NAME function, and the ability to specify a date with a year and an annual Julian day number *. A day is the smallest unit of time in this package.
An important feature is the ability to subtract dates over the full range of years. Thus, you can for example, calculate the number of days between 10/15/1986 and 1/1/1988. Another important feature is the ability to add (or subtract) x number of days from a date and obtain a date x days in the future (or past).
DATE VERSION AUTHOR HISTORY 10/86 1.0 Gawron Initial release
This prologue must be included in all copies of this software. This software is copyright by the author. This software is released to the Ada community. Restrictions on use or distribution: NONE
This software and its documentation are provided "AS IS" and without any expressed or implied warranties whatsoever. No warranties as to performance, merchantability, or fitness for a particular purpose exist. The user is advised to test the software thoroughly before relying on it. The user must assume the entire risk and liability of using this software. In no event shall any person or organization of people be held responsible for any direct, indirect, consequential or inconsequential damages or lost profits.
Powered by the Generic Web-Based Reuse Library (GWRL)