Lines Matching refs:diff
1829 diff = self - other # this will take offsets into account
1830 if diff.days < 0:
1832 return diff and 1 or 0
2150 # diff = x.n - (z.n - z.o) [6]
2162 # diff =
2168 # So diff = z.d.
2170 # If [5] is true now, diff = 0, so z.d = 0 too, and we have the standard-time
2174 # If [5] is not true now, diff = z.d != 0, and z.d is the offset we need to
2180 # z' = z + z.d = z + diff [7]
2192 # diff' = x.n - (z'.n - z'.o) = replacing z'.n via [7]
2193 # x.n - (z.n + diff - z'.o) = replacing diff via [6]