]> git.saurik.com Git - wxWidgets.git/commit
Add wxDateTime::DiffAsDateSpan().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 1 Oct 2012 09:55:05 +0000 (09:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 1 Oct 2012 09:55:05 +0000 (09:55 +0000)
commit77dd7daad2df0faac2b4e846ac9bb6aff588278c
tree00d0e816a0050a4701323b15baaf22b1cc97dd25
parent1f4bb1d7f2d7faf05f993b1b8071938234ba18b3
Add wxDateTime::DiffAsDateSpan().

This method returns the difference between the dates as wxDateSpan, unlike the
existing Subtract() and overloaded operator-() that return wxTimeSpan.

Closes #14704.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/datetime.h
interface/wx/datetime.h
src/common/datetime.cpp
tests/datetime/datetimetest.cpp
tests/testdate.h