[root]/groovy/modules/gdata/src/main/groovy/time
Make weeks and days ago and from.now prduce java.sql.Date with correct number of milliseconds
22 lines of code changed in:
Allow datum dependant durations to be converted to milliseconds by using the current instant as the datum
Also work round java.sql.Date sillyness
37 lines of code changed in:
Add basic Date Duration arithmetic
40 lines of code changed in:
Fix bug in toMilliseconds and update unit test to chack for correct operation
1 lines of code changed in:
Distinguish between Durations which are numbers of whole days and those which include fractions of days
328 lines of code changed in:
Add some support for java.sql.Date
7 lines of code changed in:
Make time arithmetic work better when the addition or subtraction takes the time over the daylight saving time boundry
132 lines of code changed in:
add from.today
from now adds the duartion to the current time
from.today adds it to the current day (i.e. hours, minutes, seconds, millis are all 0)
31 lines of code changed in:
First veirsion that does time arithmetic correctly
11 lines of code changed in:
Move the Duration classes into a non google related package
131 lines of code changed in: