Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
added numerical operator overloading methods for Date so that ranges, next/previous and add/remove are supported for date. e.g.
x = new Date()
y = x + 2
assert x < y
x++
y--
assert x == y
x += 2
assert x > y