Naughter Software Logo

DTime+ v3.09 A Collection of Date and Time Classes

Description

DTime+ is a collection of classes & functions designed to ease the MFC programmers’ burden when handling date and time values. If like me, having taken a look at the built in MFC classes CTime and CTimeSpan or the OLE based COleDateTime and COleDateTimeSpan classes, you decided they did not meet your requirements, and you decided to write your own super-duper date and time classes, but deadlines were looming, then look no further. The basis of the algorithms for conversion from the Julian and Gregorian calendar to the underlying storage was adopted from an article by Peter J.G. Meyer for the March 1993 issue of Dr Dobbs Journal. You can find the article online at http://www.ddj.com/184408959. The algorithm used to determine the date of Easter Sunday is taken from the book ‘Astronomical Algorithms’ by Jean Meeus. The algorithms for the Moslem (Islamic) calendar and the Hebrew calendar are provided by the book "Calendrical Calculations, The Millenium Edition" by Edward M. Reingold and Nachum Dershowitz. Calendrical Calculations has always been a favourite topic of the author and was in fact some of the first code which I published on the web back in the mid 90's. Originally the code was shareware but I've now decided to make it freeware in the hope that more people will find it useful in their day to day projects.

 

Features

 

The enclosed zip file contains the source code, a simple console based application which exercises all the class and a CDialog based application to exercise the UI support provided by the class framework.

 

Copyright

 

Updates

v3.0 (22 April 2006)

v3.01 (1 May 2006)

v3.02 (20 May 2006)

v3.03 (22 May 2006)

v3.04 (25 May 2006)

v3.05 (27 May 2006)

v3.06 (29 May 2006)

v3.07 (30 May 2006)

v3.08 (2 July 2006)

v3.09 (13 April 2007)