Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 27675, Code for "Fun with Testing DateUtils"

by Nick Hodges Email: Anonymous

Code to accompany my blog series "Fun with Testing DateUtils"
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 1.0  to 10.0 189 downloads
Copyright: All rights reserved

Size: 32,708 bytes
Updated on Sat, 17 Apr 2010 20:53:09 GMT
Originally uploaded on Wed, 14 Apr 2010 15:40:51 GMT
SHA1 Hash: A68EF4ACDA302061CBBCD147DDFC4C2F7F295F71
MD5 Hash: 5796410689B291806CF40CB3E55337D7

    Explore the files in this upload


This code accompanies my blog post series called "Fun with Testing DateUtils.pas".

This code contains two files:


This file contains some of the fixes that I've written for the DateUtils.pas unit, as well as three additional functions: DateTimeInRange, DateInRange, and TimeInRange. These fixes will be released in the next version of Delphi (codenamed Fulcrum) and so if you have that version or later, you have no need for this file. You can use this unit as is, or you can update your own copy of DateUtils with it. If you do the latter, you won't be able to compile using the RTL.BPL package.


This file contains a class that can be included in a DUnit project that tests the functionality of much the DateUtils functionality. Note that as is, many of these tests will fail unless the fixes in DateUtilsUpdates.pas are included. All the tests in this unit assume that the fixes in that unit have been applied to DateUtils.pas.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03