PDA

View Full Version : Comparer of two QDates



TorAn
22nd April 2010, 21:16
Does anyone know if Qt has somewhere the comparison between two dates that returns -1;0;+1 in case of less, equal or greater ? I use my own comparer, but I am wondering if one already exists in Qt.

Lykurg
22nd April 2010, 21:56
No there is not. At least I never have seen one and I couldn't think of any case where I would need it. Because I normally use the operators ==, < and > for that.