home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
zfamily.zip
/
zfamily
/
ZDTFUNCS
/
HELP
/
ZDTNEWS.DOC
< prev
Wrap
Text File
|
1993-11-16
|
12KB
|
255 lines
┌───────────────────┬───────────────────────────────────────────────────────┐
│ ZDT NEWS │ Last minute information and change history. │
└───────────────────┴───────────────────────────────────────────────────────┘
ZDTFUNCS Last Minute Information
None.
ZDTFUNCS Change History
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 4.30 │ │ 16 November 1993 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Added a new STANDARD function, which MUST be called BEFORE any other DLL
function if the DLL is cloned with a different name:
zdtSetLibraryName()
This function sets a private variable (zdtDllName) which is used by all
the DLL functions to load resources and get the DLL handle. Its default
value is zdtDLLNAME.
■ The User's Guide and Reference Manual have been updated accordingly.
A new section, describing the use of the object library ZDTFUNCS.LIB
was added too.
■ Added zNAMESIZE to ZGENERAL.H
■ Changes in zLIBVERS structure in ZGENERAL.H
PBYTE Ptr ; ---> CHAR Name[zNAMESIZE] ;
■ zdtLibraryVersion(&LibVers) now returns the library name in LibVers.Name.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 4.20 │ │ 22 September 1993 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Added a new function to add days, months, and years to a date, and to
calculate the resulting date
zdtAddToDate()
Note that, differently from zdtAddDays(), this function does NOT add a
fixed number of days to date, but a total number of days which depends
on the initial date. For example, adding one month to January 2nd, 1993,
in order to go to February 2nd, 1993, is equivalent to add 31 days.
On the other side, adding one month to February 2nd, 1993, in order to go
to March 2nd, 1993, is equivalent to add 28 days.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 4.12 │ │ 21 September 1993 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ New type zLIBVERS and zPLIBVERS substitute the obsolete LIBVERS and
PLIBVERS. The older types are still supported for compatibility only.
■ New "About" dialog box for the sample program.
■ Fixed a bug in the sample program which prevented the world map to be
displayed on XGA or BGA screens. Major changes to the sample program
code to handle the slider and time zone entry field relationships.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 4.11 │ │ 21 July 1993 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ New algorithm for zdtWeekday() which needs no date of reference.
It was provided by Richard Pasco (PASCO at ALMVMA).
■ zdtWeekOfYear() updated accordingly.
■ Deleted the internal function _zdtIsLeapYear().
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 4.10 │ │ 29 April 1993 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Recompiled with IBM C/C++ Tools 2.0 compiler and Toolkit 2.1.
■ New on-line documentation (INF file)
■ New Installation Guide
■ The documentation and the sample program have been modified accordingly.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 4.01 │ │ 29 April 1993 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Added zdtZPREFIX, equal to "ZDT"
■ Changed all #include "..." to #include <...> to support LLMS
■ Added a DEVEL sub-directory to shipped package, containing an OBJECT
LIBRARY and the needed files to make your own Z Family/2 reusable library.
■ Added ZDTSTUB.C and ZDTCLONE.MAK to clone libraries.
■ Major changes to the documentation (added index too).
■ The listing of the sample program is not enclosed any more in the library
package.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 4.00a │ │ 5 February 1993 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Fixes in the documentation only. Major one is "Exception" to "Signal".
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 4.00 │ │ 2 February 1993 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ A new Z Family/2 standard function to register user's signal handler:
zdtRegisterSignal()
■ Two new types and one new constant related to zdtRegisterSignal() defined
in ZGENERAL.H:
zSIGNAL, zSIGHAND (types) and zREGISTERED (constant)
■ Added a new function to calculate the week of the year
zdtWeekOfYear()
■ Changed the supported range of years from "1970 to 2100" to "1860 to 2100".
■ New algorithm for zdtWeekday() which supports the day of the week
independently on the supported range.
■ Function sheets have been alphabetically sorted in the Reference
Manual, and blank pages suppressed to reduce document size.
■ New "Installation", "Machine Readable Information", "Exception
Handling", and "Signalling types" sections in the documentation.
The User's Guide and Reference Manual has been updated to reflect
all changes.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 3.00 │ │ 22 December 1992 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ New naming conventions
ZDTFUNCS.DLL -> FMZDTFUN.DLL
ZDTFUNCS.LIB -> FMZDTFUN.LIB
■ A new function to return the time zone of the workstation:
zdtLocalZone()
■ Added Danish (dansk) language for the names of months and weekdays.
■ In certain countries the names of the days of week and of months
must or mostly begin by a capital letter, in other the opposite is
true. The following resources have been updated to conform to such
rules (the table refer to the first letter in names) :
Language Day of week Month
Brazilian Portuguese lower case lower case
Dutch lower case UPPER case
English UPPER case UPPER case
French lower case lower case
German UPPER case UPPER case
Italian lower case UPPER case
Spanish lower case lower case
Swedish lower case lower case
Danish lower case lower case
■ Product number is now 5641-504
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 2.20 │ │ 23 November 1992 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ DLL functions can be called either from C and from C++.
■ An exception handler is registered for each exported function by using
#pragma handler() preprocessor instructions.
■ A .LIB file is provided too as an alternative to the IMPORTS
statement in the application .DEF file.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 2.10 │ │ 30 September 1992 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Fixed a bug in the following functions:
zdtNow()
zdtToday()
Such functions returned the UTC date and time, rather than the
local one.
■ Two new functions added to return the current UTC date and time:
zdtUtcNow()
zdtUtcToday()
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 2.01 │ │ 23 September 1992 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Fixed a bug in the following functions:
zdtDateAsString()
zdtTimeAsString()
zdtFormatDate()
zdtFormatTime()
Such functions expected to receive as input parameter a pointer to
string with zdtSTRSIZE length. If the string was shorter an exception
might occur. Such limitation is not necessary and has been eliminated
now. Strings must be as large as the expected content, that is
9 bytes for sorted dates "yyyymmdd"
7 bytes for sorted times "hhmmss"
as many bytes as needed (zdtSTRSIZE reccomended) for zdtFormatXxxx
■ Fixed a bug in zdtYear(). This function returned an incorrect year
when date was the last day of certain years (as 1992).
■ ZDTFUNCS.LIB has been added to ZDTFUNCS.ZIP file as an alternative
to IMPORTS in applications' .DEF file.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 2.00 │ │ 21 September 1992 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Static strings are no more used in all the functions which return
a filled string. Strings must be allocated by the caller and the
pointer passed to the ZDTFUNCS.DLL function. That avoids problems
in multi-thread applications.
■ The following time services have been added:
zdtAddHours() - Add hours to time and compute new time
zdtAddMinutes() - Add minutes to time and compute new time
zdtAddSeconds() - Add seconds to time and compute new time
zdtComputeLocalTime() - Compute new local time from zone to zone
zdtDiscardTime() - Time destructor
zdtFormatTime() - Format time a la sprintf()
zdtHours() - Get hours of time
zdtIsValidTime() - Check if time is valid
zdtIsValidZone() - Check if time zone is valid
zdtMinutes() - Get minutes of time
zdtMinutesInTime() - Number of minutes corresponding to time
zdtNewTime() - Generate a new time in internal format
zdtStringAsTime() - Generate a sorted format string from time
zdtStringIsTime() - Check if string is time (sorted format)
zdtNow() - Get current time
zdtSeconds() - Get seconds of time
zdtSecondsBetween() - Seconds between two times
zdtSecondsInTime() - Number of seconds corresponding to time
zdtTimeAsString() - Get time from string (sorted format)
■ The following structures have been added:
zdtLOCALDT - Local date, time and zone information
■ The documentation and the sample program have been modified
accordingly. New "TIMEZONES" dialog box in DTEINF program.
┌───────────────────┬──────────────────────────────┬────────────────────────┐
│ Version 1.00 │ │ 24 July 1992 │
└───────────────────┴──────────────────────────────┴────────────────────────┘
■ Initial release