home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
dateclc2.zip
/
DATECALC.DOC
next >
Wrap
Text File
|
1990-05-21
|
14KB
|
351 lines
*****************************************************************
DATECALC Version 2.0
Copyright 1990 by Jeff Sackman
*****************************************************************
I. OVERVIEW
DATECALC is a SHAREWARE program which calculates dates. It
can add and subtract a given number of days from a "base date,"
optionally counting or not counting, "landing" or not landing on
a weekend or holiday. Valid dates are from 1973 and 2034. Up
to 999 days can be added or subtracted. DATECALC "remembers" the
last result, and can also input today's date with a single
keystroke.
To some this may seem an interesting exercise on the
computer, but to attorneys, real estate agents and others who
work with deadlines and due dates, calculating dates is an
essential. (Missed deadlines and due dates is the greatest
single cause of legal malpractice!)
Included in this package are the following files:
DATECALC.EXE : The DATECALC program.
DATECALC.DV : Desqview or Windows version. See below.
PRINTHOL.EXE : Utility to display holidays.
DATECALC.DOC : This document.
REGISTER.FRM : Extra registration form.
These are all copyrighted material. They ARE NOT PUBLIC
DOMAIN. These programs are distributed as "Shareware" to give
you the opportunity to try them before paying for them. Please
see the discussion of "Shareware" and the registration
information below.
These files may be freely distributed so long as all of the
above-listed files, including this one, are distributed together
in the same archive or similar package, and none of the files are
altered in any way, except as necessary to compress them into an
archive.
II. OPERATION
Datecalc is invoked by typing "DATECALC" from the DOS
prompt, followed by the desired list of holidays. Version 2.0
comes with the following built-in list of holidays:
FED Standard holidays observed by the federal courts.
CA Standard holidays observed by California courts.
If you type "NONE", then no holidays are used (just
weekends). The default is FED, which will be used if nothing is
entered after "DATECALC".
The DATECALC window will then appear on your screen. The
holiday list in use at the time will be indicated. It will look
something like this:
******* Date Calculator ****
* (FED Holidays Used) * <--- Indicates holiday list
* / / * <--- Enter date here
* Enter starting date * <- Prompts
* * <- and
* * <- Information
* * <-
****************************
Enter the "base date" in month/day/year format. E.g.
4/22/1990. Note that the year must be entered in full ("1990"
not "90"). Press the <ENTER> key or "/" after the month, to go
on to the day, and so on.
You will then be asked if you want to add or subtract days.
Press the "+" or "-" key.
Then, you will be asked to enter the number of days you wish
to add or subtract. Any number from 0 to 999 is valid. (You may
wish to enter "0" to see what day of the week a particular date
falls on.)
After entering the base date and the number of days to add
or subtract, you will be prompted for the "formula." This is to
see whether you wish to count weekends and holidays, or land
before or after a holiday. If you simply wish to add or subtract
days and do not care about holidays, press <ESC> to choose the
default formula - count all days and OK to land on holiday.
Otherwise, press "Y" or "N" after each prompt:
Count days off (Y/N)? Y= count all days, including
weekends and holidays.
N = Do not count weekends or
holidays.
Default is Y.
Land on day off (Y/N)? Y = If the result of the
calculation is a holiday or
weekend, then that is O.K.
N = If the result of the
calculation is a holiday or
weekend, then the result should be
either the day before or after.
Default is N.
Land after day off (Y/N)? Y = If result is a holiday or
weekend, go to the NEXT day which
is not a holiday or weekend.
N = If result is a holiday, go to
the PREVIOUS day which is not a
holiday or weekend.
Default is Y.
You can choose the default to any of the above by pressing
the <ENTER> key.
The result will then be calculated and displayed in reverse
video. It may look something like this:
******* Date Calculator ****
* (FED Holidays Used) * <--- Fed holiday list used
*07/03/1990 + 1 * <--- Base Date plus one
* Thursday July 5 1990 * <- ** RESULT **
* All days are counted * <- formula
* Do Not Land on Day Off * <- formula
* Land After Day Off * <- formula
****************************
Why is 7/3/1990 + 1 = 7/5/1990? Because 7/4/1990 is a
holiday! If you had answered "Y" to "Land on Day Off?" the
result would be 7/4/1990.
After viewing your result, press any key. The window will
clear itself, and you can enter a new date.
III. SPECIAL KEYS
<ESC> = Exit, or start over. If pressed during the formula
prompts, this will choose the default formula from that
point on, and immediately calculate the result.
<Cntrl><T> = If pressed while entering the month, today's date
will be entered. Note that your system clock and
DOS clock must be set.
<Cntrl><L> = If pressed while entering the month, the last
RESULT will be entered. If this is your first
calculation, nothing will happen.
IV. HOLIDAY LISTS
DATECALC version 2.0 comes with two built-in holiday lists.
Each can list holidays during the full range of dates. These
holiday lists are based on the current holidays listed by statute
and rule.
NOTE: These holidays are subject to frequent change. They
are also subject to local variations by local rule and by
negotiations with the labor organizations representing the clerks
in each court. These lists are based on the rules in effect for
1990.
Federal Holidays
These are based on 5 U.S.C. sec. 6103, which is adopted by
Rule 6(a) of the Federal Rules of Civil Procedure for use by
federal courts. These holidays are:
New Years: January 1
Martin Luther King Day: 3rd monday in January
Washingtons Birthday: 3rd monday in February
Memorial Day: Last monday in May
Independence Day: July 4
Labor Day: 1st monday in September
Columbus Day: 2nd monday in October
Veterans Day: November 11
Thanksgiving: 4th thursday in November
Christmas Day: December 25
In addition, two variations currently in effect in the
District Court for the Central District of California are added:
Day After Thanksgiving: 4th friday in November
Veterans Day: if it falls on a sunday, is celebrated monday.
California Holidays
These are based on Government Code sec. 6700 and sec. 6701,
as modified by Code of Civil Procedure sec. 135 and California
Rule of Court 987. These holidays are:
New Years: January 1
Martin Luther King Day: 3rd monday in January
Lincolns Birthday: February 12
Washingtons Birthday: 3rd monday in February
Memorial Day: Last monday in May
Independence Day: July 4
Labor Day: 1st monday in September
Columbus Day: 2nd monday in October
Veterans Day: November 11
Thanksgiving: 4th thursday in November
Christmas Day: December 25
Any of the above holidays falling on a sunday is celebrated
the following monday. Any falling on a saturday is celebrated on
the prior friday.
V. PRINTHOL UTILITY
A utility program, PRINTHOL, is included in this package.
Type PRINTHOL, followed by a space and a valid year, and a list
of holidays in effect that year, according to the above rules,
will be displayed. It may look like this:
1991 FEDERAL HOLIDAYS CALIFORNIA HOLIDAYS
New Years Tuesday January 1 Tuesday January 1
M.L. King Birthday Monday January 21 Monday January 21
Lincoln Day Tuesday February 12
Washington Birthday Monday February 18 Monday February 18
Memorial Day Monday May 27 Monday May 27
July 4th Thursday July 4 Thursday July 4
Labor Day Monday September 2 Monday September 2
Columbus Day Monday October 14 Monday October 14
Veterans Day Monday November 11 Monday November 11
Thanksgiving Thursday November 28 Thursday November 28
Day After Thanksgiving Friday November 22 Friday November 22
Christmas Wednesday December 25 Wednesday December 25
This will give you an idea of the holidays used by DATECALC.
To print out these holidays, type "> LPT1:" after the command, or
other device connected to your printer. E.g.:
PRINTHOL 1991 > LPT1:
will print the holidays for 1991 to the printer connected to the
first parallel port.
One of the upgrades planned for this product is the ability to
make and edit user-defined holiday lists. This will allow you to
double-check your local rules and give this information to
Datecalc for your date calculations.
VI. DESQVIEW OR WINDOWS VERSION
The file DATECALC.DV is a version of the program compiled to
work with Desqview or Windows. It is NOT a Desqview or Windows -
specific program. The only difference is that it does not write
directly to the screen and does not open its own window. This
allows it to be sized as a Desqview or Windows window.
To use this version, move it to your Desqview or Windows
directory and change its name:
REN DATECALC.DV DATECALC.EXE
Set it up to run with at least 80K, and specify DOES NOT
WRITE DIRECTLY TO SCREEN. Size the window as 8 rows high and 29
columns wide, and place it wherever you wish. For more
information, see your Desqview or Windows manual.
VII. DISCLAIMER
As mentioned in the Overview, deadlines can be critical to
certain professionals. This program is intended as an aid in
calculating deadlines. Holiday schedules of different courts,
and the rules for various time limits may change. The dates and
holidays in this program can not be guaranteed to remain in
effect. The author, or anyone distributing this program, is not
liable for any damages arising from the use of this program.
This program is sold as-is, and no warranty is given, express or
implied, except as may be required by law.
VIII. A NOTE ON SHAREWARE PROGRAMS
These programs (Datecalc and Printhol) are distributed on a
shareware basis. THEY ARE NOT PUBLIC DOMAIN. The author retains
all rights to the programs. However, rather than distribute
these programs commercially, with the overhead of advertising,
materials and middle-men, the author has chosen to let the
program be its own advertisement. The program may be freely
distributed through bulletin boards and passed between friends,
so long as the entire package is passed along intact. You are
free to try this program, with no obligation. If you like it,
you must register your copy in order to obtain a license to
continue using it.
The license fee is only $3.50. In addition to becoming
obtaining a legal license to use this software, you will also be
informed as to upgrades and similar products. If this program
was offered through regular commercial outlets, it could cost at
least five times the shareware price. The author hopes that you
will like the program enough to shell out the nominal license
fee.
The registration form is on the following page. An extra
copy is also included in this package as REGISTER.FRM. If you
decide you would like to use Datecalc, please fill out the form
and mail it with your fee as indicated.
DATECALC Version 2.0
REGISTRATION FORM
Please fill out the following information, sign below, and
mail this form with your check or money order for $3.50 to:
Jeff Sackman
501 Shatto Place, Suite 100
Los Angeles, CA 90020
----------------- REGISTRATION INFORMATION ---------------------
Name: _____________________________________
Firm: _____________________________________
Address: _____________________________________
_____________________________________
City/State/Zip: _____________________________________
Your Profession or Business: ____________________________
(optional)
----------------- LICENSE AGREEMENT ----------------------------
I have read the Copyright Notice, Disclaimer, and Note on
Shareware included in the documentation for this product (in the
file DATECALC.DOC) and agree with those conditions. By sending
in this registration with my license fee, I am obtaining a
license to use this product on one computer system only. I may
distribute copies of this program only in the original "package"
of files described in the documentation.
Signed: __________________________