Arrghjhh...I was looking at a network dump and confusing nibbles for 
bytes....never mind....sigh.....
de Mike W9MDB

      From: Bill Somerville <[email protected]>
 To: [email protected] 
 Sent: Wednesday, May 24, 2017 9:40 AM
 Subject: Re: [wsjt-devel] Small patch
   
 On 24/05/2017 15:28, Black Michael wrote:
  
 But check out 5089 
          // In 5.2 we switched to using Qt::TimeSpec and added offset support
        dateAndTime = getDateTime(dateTime.d);
        out << dateAndTime << qint8(dateTime.timeSpec()); 
 It's milliseconds now instead of seconds so needs 64-bit. 
 Hi Mike, my comments still stand. It serializes milliseconds since midnight. 
Milliseconds in a day is 86400000 which easily fits in a 32-bit unsigned 
integer. dateAndTime above is a pair<QDate, QTime> and each gets serialized 
sequentially using the QDate inserter into a QDataStream then the QTime 
inserter into a QDataStream. The whole lot is followed by a qint8 timespec 
field that determines the time zone info etc.
  73
 Bill
 G4WJS.
  ------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


   
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to