summary refs log tree commit diff stats
path: root/compiler/ccgthreadvars.nim
diff options
context:
space:
mode:
authorJamesP <jlp765@gmail.com>2015-12-07 15:23:16 +1000
committerJamesP <jlp765@gmail.com>2015-12-08 10:16:42 +1000
commit8af8f7673be0550170c8d143fb6ac24f0fe52777 (patch)
treefb32619ff5202d0a8e71ab62e00e4fd70f010ae7 /compiler/ccgthreadvars.nim
parent5c0ffa661347300c333096d22e056df4e07b08ca (diff)
downloadNim-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/ccgthreadvars.nim')
0 files changed, 0 insertions, 0 deletions
ref='#n115'>115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174