Results 1 to 2 of 2

Thread: Comparer of two QDates

  1. #1
    Join Date
    Nov 2009
    Location
    US, Midwest
    Posts
    215
    Thanks
    62
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Comparer of two QDates

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Comparer of two QDates

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.