[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-nodiffs] Revision 62583fd5b8808dd569334f9388b0e1ff901d
From: |
monotone |
Subject: |
[Monotone-commits-nodiffs] 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?
monotone --db={your.database} diff
--revision=fb75005b08dc24593c031991dba481a374574393
--revision=62583fd5b8808dd569334f9388b0e1ff901db19f
----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-nodiffs] Revision 62583fd5b8808dd569334f9388b0e1ff901db19f,
monotone <=