Interval Calculator

Version 1.0   2 May 2015

Summary

The Interval Calculator computes the date and time at the end of an interval
entered by the user. It's initial use was to work out the time at which an
internet auction would expire.



Description

The widget displays four fields. The first field shows the current date and time
and is updated once a second.

The user should enter an interval in the second field, then press the RETURN or
ENTER key.

Intervals should be specified as a number of days, hours and minutes, in that
order. Days can run from 0d to 99999d, hours from 0h to 23h and minutes from 0m
to 59m. Any of the days, hours or minutes items may be omitted. The items may be
separated by spaces, if desired. Optionally, an interval may be prefixed with a
minus sign.

The widget displays, in the third field, the date and time at the end of the
interval specified, computed from the time at which the RETURN or ENTER key was
pressed.

The widget displays the interval used in the fourth field. If that differs from
the interval entered in the second field, it is an indication that the interval
entered in the second field was not syntactically correct.

Date Format

The date format can be chosen by clicking on the Date Format menu button.

License

Interval Calculator is Copyright © 2006-2015 Harry Whitfield (G6AUC).

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
St, Fifth Floor, Boston, MA 02110-1301 USA

Widget Concept, Coding and Documentation

Harry Whitfield (G6AUC)
