diff options
author | JamesP <jlp765@gmail.com> | 2015-12-07 15:23:16 +1000 |
---|---|---|
committer | JamesP <jlp765@gmail.com> | 2015-12-08 10:16:42 +1000 |
commit | 8af8f7673be0550170c8d143fb6ac24f0fe52777 (patch) | |
tree | fb32619ff5202d0a8e71ab62e00e4fd70f010ae7 /compiler/vm.nim | |
parent | 5c0ffa661347300c333096d22e056df4e07b08ca (diff) | |
download | Nim-8af8f7673be0550170c8d143fb6ac24f0fe52777.tar.gz |
add timeinterval helping functions as per issue #3609
add tests to ttime.nim for timeinterval add/subtract functionality Changed assert to doAssert in ttime.nim Added extra tests to ttime.nim Removal of singular help procs for working with TimeIntervals Added TimeIin proc toSeconds(a: TimeInfo, interval: TimeInterval) where subtracting a year gave wrong results Add overflow of units on initInterval eg, 65 seconds is 5 seconds and 1 minute
Diffstat (limited to 'compiler/vm.nim')
0 files changed, 0 insertions, 0 deletions