monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 62583fd5b8808dd569334f9388b0e1ff901db1


From: monotone
Subject: [Monotone-commits-diffs] Revision 62583fd5b8808dd569334f9388b0e1ff901db19f
Date: Tue, 21 Oct 2008 21:55:54 +0200

-----------------------------------------------------------------
Revision: 62583fd5b8808dd569334f9388b0e1ff901db19f
Ancestor: fb75005b08dc24593c031991dba481a374574393
Author: address@hidden
Date: 2008-10-21T20:56:31
Branch: net.venge.monotone.dates

Modified files:
        dates.cc dates.hh

ChangeLog: 

 * dates.{cc,hh}: added operator + and operator - for direct addition of
   milliseconds to a date_t, resulting in a new date_t. Simplified the
   boundary checking in operator +=, using that from operator -=. Both
   of these now support signed 64bit values, passed by value. Make sure
   the tests never run into invalid dates (i.e. d == 0). Maybe it's silly
   to call 1970-01-01T00:00:00 invalid?

Attachment: txt0Rm30F_FxQ.txt
Description: Diff [fb75005b08dc24593c031991dba481a374574393] -> [62583fd5b8808dd569334f9388b0e1ff901db19f]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]