PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Provides arithmetic and logical operations for dates


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
generic package date_package
VERSION
1.0
REVIEW CODE
AR; C1 1.0 A
INET ADDRESS
dgg@aplvax gralia@aplvax
AUTHOR
David G. Gawron
Dr. Mars J. Gralia
The Johns Hopkins University
Applied Physics Laboratory
Johns Hopkins Road
Laurel, Maryland 20707
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
(c) 1986 David G. Gawron, Dr. Mars J. Gralia
DATE CREATED
October 1986
DATE RELEASED
November 1986
DATE LAST UPDATED
Gawron, October 1986
LOCATION
C2MUG
PC-BLUE
ASR
AdaNET
ENVIRONMENT
DEC VAX 11/750, DEC Ada v1.3
LIMITATIONS
Not documented in PAL database
CERTIFICATION
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

FILE LISTING

Directory Display


languages/ada/asr/math/date:
  File Name                 Size
  ---------                 ----
  date.zip                10,946


Totals
  ==============  ==============
    1 Files               10,946

ABSTRACT

  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).


REVISION HISTORY

DATE         VERSION	AUTHOR                  HISTORY
10/86        1.0     Gawron                  Initial release


RELEASE NOTICE

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


DISCLAIMER

	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.