Home > Web Site Updates > DTime+ v3.20

DTime+ v3.20

December 6, 2016

Just to let everyone know that v3.20 of DTime+ has been released. Updates for this version include:

  • Updated copyright details
  • Removed all usage of CString from the code and replaced with std::[w]string.
  • Replaced all occurrences of WORD with uint16_t throughout the code
  • Replaced all occurrences of DWORD with uint32_t throughout the code
  • Replaced all occurrences of ASSERT, AFXASSUME, TRACE & VERIFY with non MFC dependent implementations
  • Replaced all occurrences of long with int32_t throughout the code
  • Renamed the DMYToLong method to "DMYToNum"
  • Optimized the elements of the static lookup tables in CJulianCalendar::DMYToNum & CJulianCalendar::GetDate
  • Replaced all occurrences of NULL with nullptr throughout the code. This does mean that the classes now require at least VC 2010 if you are going to use a Microsoft compiler.
  • Reimplemented CDate::CurrentSystemDate to just use the C runtime.
  • Reimplemented CDate::CurrentLocalDate to just use the C runtime.
  • Optimized the CDate::Set method which takes a COleDateTime parameter
  • Optimized the CLDate::Set method which takes a COleDateTime parameter
  • Fixed a bug in the validation code of the CDate::Set method which takes a "WeekOfMonth" parameter.
  • Fixed a bug in CJulianGregorianHolidays::EasterMonday where it returned EasterSaturday by mistake
  • Fixed all typos of "occurrences" throughout code and documentation
  • Optimized the CDate::Set method which takes a CTime parameter
  • Optimized the CLDate::Set method which takes a CTime parameter
Advertisements
Categories: Web Site Updates
%d bloggers like this: