Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7.1
-
None
-
None
-
win 7 64-bit, 64-bit Java 1.8.0_18
Description
use(groovy.time.TimeCategory) {
def first = Calendar.instance.time
Thread.sleep 4200
def second = Calendar.instance.time
println first - second
}
When run in GroovyConsole this gives gives:
-4.-201 seconds