colingo/browser-tz

2013-08-30 23:36:53
8.0
9.0
10.0
✓22.0
✓23.0
✓24.0
✓25.0
canary
26.0
27.0
28.0
29.0
✓16.0
✓17.0
✓18.0
✓19.0
✓nightly
20.0
21.0
22.0
23.0
24.0
5.1
6.0
✓12.0
✓next
15.0
✓6.0
✓6.0
4.2
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 7 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 8 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 9 should be equal ok 10 should be equal ok 29 should be equal ok 30 should be equal ok 11 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 40 should be equal ok 41 should be equal ok 16 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 17 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 18 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 66 should be equal ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 67 should be equal ok 68 should be equal ok 232 should not be equal ok 233 should not be equal ok 69 should be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 70 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 259 should be equal ok 260 should be equal ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 335 should be equal ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 336 should be equal ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 394 should not be equal ok 395 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal not ok 53 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.lastYearRule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1567:20) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1496:44) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # addMillisecond ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal not ok 62 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # addSecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal not ok 71 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # addMinute ok 72 should be equal ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal ok 77 should be equal ok 78 should be equal ok 79 should be equal not ok 80 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # addHour ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal ok 86 should be equal ok 87 should be equal ok 88 should be equal not ok 89 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # addDay ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal ok 95 should be equal ok 96 should be equal ok 97 should be equal not ok 98 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # addWeek ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal not ok 107 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # addMonth ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 should be equal ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal not ok 118 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # addYear ok 119 should be equal ok 120 should be equal ok 121 should be equal ok 122 should be equal ok 123 should be equal ok 124 should be equal not ok 125 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # add with local format not ok 126 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromStringAndFormat (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9957:9) at makeDateFromString (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10011:13) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at parseToMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:309:16) at IsoString (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:276:16) at addLocalTimezone (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:125:20) at addTimezone (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:110:16) ... # add with timezone syntax not ok 127 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10029:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1415:23) at Object.date (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1410:17) at Object.start (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1401:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1445:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1491:18) at Object.rule (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:1510:22) ... # no amount throws ok 128 should throw # add invalid type ok 129 should throw # format not ok 130 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11385:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9917:18) at makeDateFromStringAndFormat (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:9957:9) at makeDateFromString (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10011:13) at makeDateFromInput (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10129:13) at http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:10136:16 at Object.format (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:182:12) at Test._cb (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:12670:21) at Test.run (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11201:14) at Test.<anonymous> (http://git.testling.com/work/colingo/repos/4d961d438ad7fa79b396ddb043ff1735e939a60c.1377900679919/1377900680655.5579e686.js:11044:24) ... 1..130 # tests 130 # pass 118 # fail 12
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
firefox/nightly
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type ok 458 should throw # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 460 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal ok 31 should be equal # tz.IsoString ambigious ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal ok 44 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal ok 62 should be equal # addMillisecond ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 73 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 74 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 75 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 76 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 77 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 78 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 79 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 should not be equal ok 87 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 88 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 89 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 90 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 91 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 92 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 93 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 94 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal ok 101 should not be equal # addSecond ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal ok 113 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 114 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 115 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 116 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 117 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 118 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 119 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 120 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 should not be equal ok 128 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 129 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 130 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 131 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 132 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 133 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 134 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 135 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal ok 142 should not be equal # addMinute ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 should be equal ok 151 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 152 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 153 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 154 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 155 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 156 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 157 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 158 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 should not be equal ok 166 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 167 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 168 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 169 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 170 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 171 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 172 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 173 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 should not be equal ok 181 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 182 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 183 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 184 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 185 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 186 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 187 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 188 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 should not be equal ok 196 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 197 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 198 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 199 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 200 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 201 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 202 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 203 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal ok 210 should not be equal # addHour ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 should be equal ok 224 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 225 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 226 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 227 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 228 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 229 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 230 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 231 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 should not be equal ok 239 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 240 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 241 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 242 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 243 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 244 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 245 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 246 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal ok 253 should not be equal # addDay ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 should be equal ok 262 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 263 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 264 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 265 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 266 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 267 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 268 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 269 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 should not be equal ok 278 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 279 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 280 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 281 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 282 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 283 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 284 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 285 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should not be equal ok 294 should be equal ok 295 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 296 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 297 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 298 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 299 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 300 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 301 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 302 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 should not be equal ok 311 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 312 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 313 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 314 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 315 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 316 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 317 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 318 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal ok 326 should not be equal # addWeek ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 should be equal ok 342 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 343 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 344 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 345 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 346 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 347 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 348 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 349 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 should not be equal ok 358 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 359 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 360 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 361 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 362 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 363 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 364 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 365 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal ok 373 should not be equal # addMonth ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 should be equal ok 385 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 386 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 387 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 388 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 389 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 390 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 391 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 392 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 should not be equal ok 401 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 402 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 403 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 404 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 405 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 406 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 407 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 408 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal ok 416 should not be equal # addYear ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 should be equal ok 423 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 424 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 425 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 426 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 427 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 428 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 429 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 430 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 should not be equal ok 439 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 440 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 441 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 442 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 443 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 444 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 445 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 446 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal ok 454 should not be equal # add with local format ok 455 should be equal # add with timezone syntax ok 456 should be equal # no amount throws ok 457 should throw # add invalid type not ok 458 should throw --- operator: throws expected: "/invalid type/" actual: {"number":null,"description":"foobar","message":"foobar"} ... # format ok 459 should be equal ok 460 should not be equal 1..460 # tests 460 # pass 459 # fail 1
timeout waiting to hear back from iexplore/8.0
2013-08-30 23:29:17
8.0
9.0
10.0
✓22.0
✓23.0
✓24.0
✓25.0
canary
26.0
27.0
28.0
29.0
✓16.0
✓17.0
✓18.0
✓19.0
✓nightly
20.0
21.0
22.0
23.0
24.0
5.1
6.0
✓12.0
✓next
15.0
6.0
6.0
4.2
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal not ok 422 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:11384:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:9916:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10028:13) at makeMoment (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10128:13) at http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10135:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1414:23) at Object.date (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1409:17) at Object.start (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1400:47) at Object.lastYearRule (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1566:20) at Object.ruleYears (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1495:44) at Object.rule (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1509:22) ... # add with local format not ok 423 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:11384:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:9916:18) at makeDateFromStringAndFormat (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:9956:9) at makeDateFromString (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10010:13) at makeDateFromInput (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10025:13) at makeMoment (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10128:13) at http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10135:16 at parseToMoment (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:309:16) at IsoString (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:276:16) at addLocalTimezone (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:125:20) at addTimezone (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:110:16) ... # add with timezone syntax not ok 424 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:11384:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:9916:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10028:13) at makeMoment (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10128:13) at http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10135:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1414:23) at Object.date (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1409:17) at Object.start (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1400:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1444:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1490:18) at Object.rule (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:1509:22) ... # no amount throws ok 425 should throw # add invalid type ok 426 should throw # format not ok 427 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:11384:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:9916:18) at makeDateFromStringAndFormat (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:9956:9) at makeDateFromString (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10010:13) at makeDateFromInput (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10025:13) at makeMoment (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10128:13) at http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:10135:16 at Object.format (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:182:12) at Test._cb (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:12669:21) at Test.run (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:11200:14) at Test.<anonymous> (http://git.testling.com/work/colingo/repos/1227f005b571dd2a2a8f2148a5961515ae0f010c.1377900432908/1377900433644.f21fc903.js:11043:24) ... 1..427 # tests 427 # pass 423 # fail 4
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
firefox/nightly
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type ok 457 should throw # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 459 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal ok 30 should be equal # tz.IsoString ambigious ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal ok 43 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal ok 61 should be equal # addMillisecond ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 should be equal ok 71 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 72 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 73 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 74 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 75 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 76 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 77 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 78 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 should not be equal ok 86 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 87 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 88 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 89 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 90 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 91 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 92 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 93 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal ok 100 should not be equal # addSecond ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 113 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 114 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 115 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 116 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 117 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 118 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 119 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 should not be equal ok 127 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 128 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 129 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 130 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 131 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 132 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 133 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 134 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal ok 141 should not be equal # addMinute ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 should be equal ok 150 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 151 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 152 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 153 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 154 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 155 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 156 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 157 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 should not be equal ok 165 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 166 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 167 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 168 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 169 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 170 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 171 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 172 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 should not be equal ok 180 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 181 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 182 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 183 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 184 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 185 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 186 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 187 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 should not be equal ok 195 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 196 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 197 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 198 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 199 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 200 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 201 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 202 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal ok 209 should not be equal # addHour ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 should be equal ok 223 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 224 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 225 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 226 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 227 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 228 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 229 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 230 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 should not be equal ok 238 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 239 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 240 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 241 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 242 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 243 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 244 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 245 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal ok 252 should not be equal # addDay ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 should be equal ok 261 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 262 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 263 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 264 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 265 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 266 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 267 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 268 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 should not be equal ok 277 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 278 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 279 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 280 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 281 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 282 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 283 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 284 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should not be equal ok 293 should be equal ok 294 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 295 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 296 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 297 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 298 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 299 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 300 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 301 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 should not be equal ok 310 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 311 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 312 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 313 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 314 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 315 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 316 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 317 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal ok 325 should not be equal # addWeek ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 should be equal ok 341 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 342 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 343 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 344 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 345 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 346 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 347 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 348 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 should not be equal ok 357 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 358 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 359 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 360 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 361 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 362 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 363 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 364 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal ok 372 should not be equal # addMonth ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 should be equal ok 384 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 385 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 386 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 387 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 388 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 389 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 390 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 391 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 should not be equal ok 400 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 401 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 402 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 403 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 404 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 405 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 406 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 407 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal ok 415 should not be equal # addYear ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 should be equal ok 422 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 423 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 424 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 425 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 426 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 427 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 428 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 429 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 should not be equal ok 438 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 439 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 440 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 441 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 442 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 443 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 444 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 445 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal ok 453 should not be equal # add with local format ok 454 should be equal # add with timezone syntax ok 455 should be equal # no amount throws ok 456 should throw # add invalid type not ok 457 should throw --- operator: throws expected: "/invalid type/" actual: {"number":null,"description":"foobar","message":"foobar"} ... # format ok 458 should be equal ok 459 should not be equal 1..459 # tests 459 # pass 458 # fail 1
timeout waiting to hear back from iexplore/8.0
2013-08-30 23:24:06
8.0
9.0
10.0
22.0
23.0
24.0
25.0
canary
26.0
27.0
28.0
29.0
16.0
17.0
18.0
19.0
nightly
20.0
21.0
22.0
23.0
24.0
5.1
✓6.0
12.0
next
15.0
✓6.0
✓6.0
4.2
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should not be equal ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal # addSecond ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 112 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 113 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 114 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 115 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 116 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 117 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 118 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 119 should not be equal ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 127 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 128 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 129 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 130 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 131 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 132 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 133 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 134 should not be equal ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal # addMinute ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 150 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 151 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 152 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 153 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 154 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 155 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 156 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 157 should not be equal ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 165 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 166 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 167 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 168 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 169 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 170 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 171 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 172 should not be equal ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 180 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 181 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 182 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 183 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 184 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 185 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 186 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 187 should not be equal ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 195 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 196 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 197 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 198 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 199 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 200 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 201 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 202 should not be equal ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal # addHour ok 209 should be equal ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 223 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 224 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 225 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 226 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 227 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 228 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 229 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 230 should not be equal ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 238 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 239 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 240 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 241 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 242 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 243 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 244 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 245 should not be equal ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal # addDay ok 252 should be equal ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 261 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 262 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 263 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 264 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 265 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 266 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 267 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 268 should not be equal ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 277 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 278 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 279 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 280 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 281 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 282 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 283 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 284 should not be equal ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should be equal ok 293 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 294 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 295 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 296 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 297 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 298 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 299 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 300 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 301 should not be equal ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 310 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 311 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 312 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 313 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 314 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 315 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 316 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 317 should not be equal ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal # addWeek ok 325 should be equal ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 341 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 342 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 343 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 344 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 345 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 346 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 347 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 348 should not be equal ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 357 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 358 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 359 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 360 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 361 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 362 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 363 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 364 should not be equal ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal # addMonth ok 372 should be equal ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 384 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 385 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 386 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 387 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 388 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 389 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 390 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 391 should not be equal ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 400 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 401 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 402 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 403 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 404 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 405 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 406 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 407 should not be equal ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal # addYear ok 415 should be equal ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 422 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 423 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 424 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 425 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 426 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 427 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 428 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 429 should not be equal ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 438 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 439 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 440 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 441 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 442 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 443 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 444 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 445 should not be equal ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal # add with local format ok 453 should be equal # add with timezone syntax ok 454 should be equal # no amount throws ok 455 should throw # add invalid type ok 456 should throw # format ok 457 should be equal ok 458 should not be equal 1..458 # tests 458 # pass 458 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should not be equal ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal # addSecond ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 112 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 113 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 114 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 115 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 116 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 117 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 118 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 119 should not be equal ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 127 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 128 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 129 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 130 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 131 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 132 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 133 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 134 should not be equal ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal # addMinute ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 150 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 151 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 152 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 153 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 154 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 155 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 156 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 157 should not be equal ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 165 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 166 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 167 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 168 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 169 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 170 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 171 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 172 should not be equal ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 180 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 181 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 182 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 183 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 184 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 185 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 186 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 187 should not be equal ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 195 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 196 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 197 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 198 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 199 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 200 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 201 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 202 should not be equal ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal # addHour ok 209 should be equal ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 223 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 224 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 225 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 226 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 227 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 228 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 229 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 230 should not be equal ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 238 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 239 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 240 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 241 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 242 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 243 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 244 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 245 should not be equal ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal # addDay ok 252 should be equal ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 261 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 262 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 263 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 264 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 265 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 266 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 267 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 268 should not be equal ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 277 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 278 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 279 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 280 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 281 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 282 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 283 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 284 should not be equal ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should be equal ok 293 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 294 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 295 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 296 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 297 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 298 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 299 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 300 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 301 should not be equal ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 310 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 311 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 312 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 313 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 314 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 315 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 316 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 317 should not be equal ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal # addWeek ok 325 should be equal ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 341 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 342 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 343 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 344 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 345 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 346 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 347 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 348 should not be equal ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 357 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 358 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 359 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 360 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 361 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 362 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 363 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 364 should not be equal ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal # addMonth ok 372 should be equal ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 384 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 385 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 386 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 387 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 388 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 389 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 390 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 391 should not be equal ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 400 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 401 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 402 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 403 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 404 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 405 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 406 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 407 should not be equal ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal # addYear ok 415 should be equal ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 422 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 423 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 424 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 425 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 426 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 427 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 428 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 429 should not be equal ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 438 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 439 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 440 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 441 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 442 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 443 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 444 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 445 should not be equal ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal # add with local format ok 453 should be equal # add with timezone syntax ok 454 should be equal # no amount throws ok 455 should throw # add invalid type ok 456 should throw # format ok 457 should be equal ok 458 should not be equal 1..458 # tests 458 # pass 458 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should not be equal ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal # addSecond ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 112 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 113 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 114 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 115 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 116 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 117 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 118 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 119 should not be equal ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 127 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 128 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 129 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 130 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 131 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 132 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 133 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 134 should not be equal ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal # addMinute ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 150 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 151 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 152 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 153 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 154 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 155 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 156 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 157 should not be equal ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 165 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 166 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 167 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 168 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 169 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 170 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 171 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 172 should not be equal ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 180 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 181 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 182 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 183 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 184 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 185 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 186 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 187 should not be equal ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 195 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 196 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 197 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 198 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 199 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 200 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 201 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 202 should not be equal ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal # addHour ok 209 should be equal ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 223 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 224 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 225 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 226 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 227 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 228 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 229 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 230 should not be equal ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 238 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 239 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 240 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 241 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 242 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 243 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 244 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 245 should not be equal ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal # addDay ok 252 should be equal ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 261 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 262 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 263 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-01T01:00:00.000-04:00 ok 264 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 265 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 266 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 267 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 268 should not be equal ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 277 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 278 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 279 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 280 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 281 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 282 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 283 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 284 should not be equal ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should be equal ok 293 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 294 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 295 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 296 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 297 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 298 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 299 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 300 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 301 should not be equal ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 310 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 311 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 312 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 313 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 314 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 315 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 316 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 317 should not be equal ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal # addWeek ok 325 should be equal ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal ok 337 should be equal ok 338 should be equal ok 339 should be equal ok 340 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 341 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 342 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 343 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 344 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 345 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 346 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 347 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 348 should not be equal ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 357 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 358 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 359 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 360 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 361 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 362 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 363 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 364 should not be equal ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal # addMonth ok 372 should be equal ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 384 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 385 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 386 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 387 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 388 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 389 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 390 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 391 should not be equal ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 400 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 401 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 402 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 403 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 404 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 405 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 406 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 407 should not be equal ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal # addYear ok 415 should be equal ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 422 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 423 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 424 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 425 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 426 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 427 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 428 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 429 should not be equal ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 438 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 439 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 440 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 441 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 442 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 443 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 444 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 445 should not be equal ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal # add with local format ok 453 should be equal # add with timezone syntax ok 454 should be equal # no amount throws ok 455 should throw # add invalid type ok 456 should throw # format ok 457 should be equal ok 458 should not be equal 1..458 # tests 458 # pass 458 # ok
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should not be equal ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal # addSecond ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 112 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 113 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 114 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 115 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 116 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 117 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 118 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 119 should not be equal ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 127 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 128 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 129 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 130 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 131 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 132 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 133 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 134 should not be equal ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal # addMinute ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 150 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 151 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 152 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 153 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 154 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 155 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 156 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 157 should not be equal ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 165 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 166 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 167 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 168 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 169 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 170 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 171 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 172 should not be equal ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 180 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 181 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 182 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 183 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 184 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 185 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 186 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 187 should not be equal ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 195 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 196 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 197 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 198 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 199 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 200 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 201 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 202 should not be equal ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal # addHour ok 209 should be equal ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 223 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 224 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 225 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 226 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 227 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 228 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 229 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 230 should not be equal ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 238 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 239 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 240 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 241 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 242 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 243 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 244 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 245 should not be equal ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal # addDay ok 252 should be equal ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 261 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 262 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 263 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-10-01T01:00:00.000-04:00 ok 264 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 265 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 266 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 267 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 268 should not be equal ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 277 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 278 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 279 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 280 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 281 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 282 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 283 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 284 should not be equal ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should be equal ok 293 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 294 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 295 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 296 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 297 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 298 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 299 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 300 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 301 should not be equal ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 310 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 311 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 312 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 313 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 314 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 315 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 316 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 317 should not be equal ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal # addWeek ok 325 should be equal ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal not ok 337 should be equal --- operator: equal expected: "2013-09-01T00:00:00.000-07:00" actual: "2013-08-01T00:00:00.000-07:00" ... ok 338 should be equal ok 339 should be equal ok 340 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 341 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 342 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 343 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 344 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 345 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 346 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 347 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 348 should not be equal ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 357 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 358 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 359 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 360 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 361 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 362 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 363 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 364 should not be equal ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal # addMonth ok 372 should be equal ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 384 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 385 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 386 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 387 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 388 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 389 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 390 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 391 should not be equal ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 400 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 401 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 402 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 403 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 404 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 405 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 406 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 407 should not be equal ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal # addYear ok 415 should be equal ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 422 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 423 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 424 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 425 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 426 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 427 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 428 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 429 should not be equal ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 438 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 439 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 440 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 441 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 442 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 443 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 444 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 445 should not be equal ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal # add with local format ok 453 should be equal # add with timezone syntax ok 454 should be equal # no amount throws ok 455 should throw # add invalid type ok 456 should throw # format ok 457 should be equal ok 458 should not be equal 1..458 # tests 458 # pass 457 # fail 1
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should not be equal ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal # addSecond ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 112 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 113 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 114 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 115 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 116 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 117 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 118 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 119 should not be equal ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 127 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 128 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 129 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 130 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 131 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 132 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 133 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 134 should not be equal ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal # addMinute ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 150 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 151 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 152 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 153 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 154 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 155 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 156 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 157 should not be equal ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 165 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 166 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 167 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 168 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 169 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 170 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 171 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 172 should not be equal ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 180 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 181 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 182 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 183 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 184 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 185 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 186 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 187 should not be equal ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 195 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 196 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 197 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 198 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 199 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 200 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 201 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 202 should not be equal ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal # addHour ok 209 should be equal ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 223 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 224 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 225 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 226 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 227 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 228 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 229 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 230 should not be equal ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 238 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 239 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 240 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 241 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 242 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 243 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 244 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 245 should not be equal ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal # addDay ok 252 should be equal ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 261 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 262 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 263 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-10-01T01:00:00.000-04:00 ok 264 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 265 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 266 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 267 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 268 should not be equal ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 277 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 278 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 279 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 280 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 281 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 282 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 283 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 284 should not be equal ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should be equal ok 293 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 294 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 295 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 296 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 297 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 298 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 299 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 300 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 301 should not be equal ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 310 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 311 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 312 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 313 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 314 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 315 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 316 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 317 should not be equal ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal # addWeek ok 325 should be equal ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal not ok 337 should be equal --- operator: equal expected: "2013-09-01T00:00:00.000-07:00" actual: "2013-08-01T00:00:00.000-07:00" ... ok 338 should be equal ok 339 should be equal ok 340 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 341 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 342 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 343 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 344 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 345 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 346 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 347 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 348 should not be equal ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 357 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 358 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 359 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 360 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 361 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 362 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 363 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 364 should not be equal ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal # addMonth ok 372 should be equal ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 384 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 385 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 386 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 387 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 388 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 389 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 390 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 391 should not be equal ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 400 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 401 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 402 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 403 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 404 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 405 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 406 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 407 should not be equal ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal # addYear ok 415 should be equal ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 422 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 423 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 424 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 425 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 426 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 427 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 428 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 429 should not be equal ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 438 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 439 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 440 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 441 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 442 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 443 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 444 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 445 should not be equal ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal # add with local format ok 453 should be equal # add with timezone syntax ok 454 should be equal # no amount throws ok 455 should throw # add invalid type ok 456 should throw # format ok 457 should be equal ok 458 should not be equal 1..458 # tests 458 # pass 457 # fail 1
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should not be equal ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal # addSecond ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 112 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 113 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 114 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 115 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 116 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 117 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 118 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 119 should not be equal ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 127 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 128 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 129 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 130 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 131 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 132 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 133 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 134 should not be equal ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal # addMinute ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 150 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 151 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 152 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 153 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 154 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 155 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 156 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 157 should not be equal ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 165 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 166 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 167 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 168 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 169 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 170 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 171 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 172 should not be equal ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 180 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 181 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 182 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 183 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 184 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 185 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 186 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 187 should not be equal ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 195 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 196 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 197 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 198 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 199 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 200 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 201 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 202 should not be equal ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal # addHour ok 209 should be equal ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 223 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 224 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 225 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 226 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 227 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 228 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 229 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 230 should not be equal ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 238 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 239 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 240 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 241 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 242 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 243 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 244 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 245 should not be equal ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal # addDay ok 252 should be equal ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 261 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 262 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 263 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-10-01T01:00:00.000-04:00 ok 264 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 265 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 266 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 267 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 268 should not be equal ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 277 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 278 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 279 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 280 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 281 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 282 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 283 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 284 should not be equal ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should be equal ok 293 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 294 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 295 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 296 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 297 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 298 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 299 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 300 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 301 should not be equal ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 310 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 311 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 312 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 313 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 314 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 315 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 316 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 317 should not be equal ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal # addWeek ok 325 should be equal ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal not ok 337 should be equal --- operator: equal expected: "2013-09-01T00:00:00.000-07:00" actual: "2013-08-01T00:00:00.000-07:00" ... ok 338 should be equal ok 339 should be equal ok 340 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 341 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 342 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 343 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 344 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 345 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 346 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 347 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 348 should not be equal ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 357 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 358 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 359 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 360 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 361 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 362 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 363 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 364 should not be equal ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal # addMonth ok 372 should be equal ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 384 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 385 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 386 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 387 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 388 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 389 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 390 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 391 should not be equal ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 400 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 401 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 402 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 403 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 404 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 405 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 406 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 407 should not be equal ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal # addYear ok 415 should be equal ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 422 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 423 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 424 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 425 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 426 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 427 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 428 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 429 should not be equal ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 438 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 439 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 440 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 441 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 442 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 443 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 444 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 445 should not be equal ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal # add with local format ok 453 should be equal # add with timezone syntax ok 454 should be equal # no amount throws ok 455 should throw # add invalid type ok 456 should throw # format ok 457 should be equal ok 458 should not be equal 1..458 # tests 458 # pass 457 # fail 1
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal not ok 59 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.lastYearRule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1564:20) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1493:44) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # addMillisecond ok 60 should be equal ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal not ok 68 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # addSecond ok 69 should be equal ok 70 should be equal ok 71 should be equal ok 72 should be equal ok 73 should be equal ok 74 should be equal ok 75 should be equal ok 76 should be equal not ok 77 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # addMinute ok 78 should be equal ok 79 should be equal ok 80 should be equal ok 81 should be equal ok 82 should be equal ok 83 should be equal ok 84 should be equal ok 85 should be equal not ok 86 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # addHour ok 87 should be equal ok 88 should be equal ok 89 should be equal ok 90 should be equal ok 91 should be equal ok 92 should be equal ok 93 should be equal ok 94 should be equal not ok 95 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # addDay ok 96 should be equal ok 97 should be equal ok 98 should be equal ok 99 should be equal ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal not ok 104 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # addWeek ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 should be equal ok 112 should be equal not ok 113 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # addMonth ok 114 should be equal ok 115 should be equal ok 116 should be equal ok 117 should be equal ok 118 should be equal ok 119 should be equal ok 120 should be equal ok 121 should be equal ok 122 should be equal ok 123 should be equal not ok 124 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # addYear ok 125 should be equal ok 126 should be equal ok 127 should be equal ok 128 should be equal ok 129 should be equal ok 130 should be equal not ok 131 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # add with local format not ok 132 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromStringAndFormat (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9954:9) at makeDateFromString (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10008:13) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10023:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at parseToMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:309:16) at IsoString (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:276:16) at addLocalTimezone (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:125:20) at addTimezone (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:110:16) ... # add with timezone syntax not ok 133 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10026:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.weekdayAfter (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1412:23) at Object.date (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1407:17) at Object.start (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1398:47) at Object.RuleYear (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1442:22) at Object.ruleYears (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1488:18) at Object.rule (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:1507:22) ... # no amount throws ok 134 should throw # add invalid type ok 135 should throw # format not ok 136 TypeError: this is not a Date object. --- operator: error expected: actual: {} at: Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11382:10) stack: TypeError: this is not a Date object. at Date.setHours (native) at dateFromArray (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9914:18) at makeDateFromStringAndFormat (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:9954:9) at makeDateFromString (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10008:13) at makeDateFromInput (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10023:13) at makeMoment (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10126:13) at http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:10133:16 at Object.format (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:182:12) at Test._cb (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:12667:21) at Test.run (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11198:14) at Test.<anonymous> (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11041:24) ... 1..136 # tests 136 # pass 124 # fail 12
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should not be equal ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal # addSecond ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 112 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 113 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 114 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 115 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 116 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 117 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 118 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 119 should not be equal ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 127 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 128 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 129 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 130 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 131 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 132 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 133 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 134 should not be equal ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal # addMinute ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 150 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 151 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 152 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 153 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 154 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 155 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 156 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 157 should not be equal ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 165 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 166 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 167 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 168 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 169 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 170 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 171 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 172 should not be equal ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 180 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 181 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 182 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 183 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 184 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 185 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 186 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 187 should not be equal ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 195 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 196 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 197 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 198 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 199 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 200 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 201 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 202 should not be equal ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal # addHour ok 209 should be equal ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 223 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 224 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 225 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 226 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 227 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 228 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 229 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 230 should not be equal ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 238 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 239 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 240 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 241 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 242 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 243 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 244 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 245 should not be equal ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal # addDay ok 252 should be equal ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 261 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 262 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 263 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-10-01T01:00:00.000-04:00 ok 264 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 265 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 266 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 267 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 268 should not be equal ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 277 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 278 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 279 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 280 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 281 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 282 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 283 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 284 should not be equal ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should be equal ok 293 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 294 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 295 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 296 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 297 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 298 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 299 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 300 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 301 should not be equal ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 310 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 311 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 312 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 313 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 314 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 315 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 316 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 317 should not be equal ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal # addWeek ok 325 should be equal ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal not ok 337 should be equal --- operator: equal expected: "2013-09-01T00:00:00.000-07:00" actual: "2013-08-01T00:00:00.000-07:00" at: Test.equal.Test.equals.Test.isEqual.Test.is.Test.strictEqual.Test.strictEquals (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11397:10) ... ok 338 should be equal ok 339 should be equal ok 340 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 341 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 342 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 343 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 344 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 345 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 346 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 347 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 348 should not be equal ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 357 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 358 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 359 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 360 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 361 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 362 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 363 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 364 should not be equal ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal # addMonth ok 372 should be equal ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 384 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 385 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 386 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 387 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 388 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 389 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 390 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 391 should not be equal ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 400 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 401 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 402 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 403 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 404 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 405 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 406 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 407 should not be equal ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal # addYear ok 415 should be equal ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 422 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 423 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 424 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 425 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 426 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 427 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 428 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 429 should not be equal ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 438 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 439 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 440 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 441 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 442 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 443 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 444 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 445 should not be equal ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal # add with local format ok 453 should be equal # add with timezone syntax ok 454 should be equal # no amount throws ok 455 should throw # add invalid type ok 456 should throw # format ok 457 should be equal ok 458 should not be equal 1..458 # tests 458 # pass 457 # fail 1
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should not be equal ok 94 should not be equal ok 95 should not be equal ok 96 should not be equal ok 97 should not be equal ok 98 should not be equal ok 99 should not be equal # addSecond ok 100 should be equal ok 101 should be equal ok 102 should be equal ok 103 should be equal ok 104 should be equal ok 105 should be equal ok 106 should be equal ok 107 should be equal ok 108 should be equal ok 109 should be equal ok 110 should be equal ok 111 -1.5 -> -0.5 for second from 2013-11-03T01:59:58.500-04:00 to 2013-11-03T01:59:59.500-04:00 ok 112 -1 -> 0 for second from 2013-11-03T01:59:59.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 113 -0.5 -> 0.5 for second from 2013-11-03T01:59:59.500-04:00 to 2013-11-03T01:00:00.500-05:00 ok 114 0 -> -1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.000-04:00 ok 115 0 -> 1 for second from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:01.000-05:00 ok 116 0.5 -> -0.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:59:59.500-04:00 ok 117 1 -> 0 for second from 2013-11-03T01:00:01.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 118 0.5 -> 1.5 for second from 2013-11-03T01:00:00.500-05:00 to 2013-11-03T01:00:01.500-05:00 ok 119 should not be equal ok 120 should not be equal ok 121 should not be equal ok 122 should not be equal ok 123 should not be equal ok 124 should not be equal ok 125 should not be equal ok 126 -1.5 -> -0.5 for second from 2013-03-10T01:59:58.500-05:00 to 2013-03-10T01:59:59.500-05:00 ok 127 -1 -> 0 for second from 2013-03-10T01:59:59.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 128 -0.5 -> 0.5 for second from 2013-03-10T01:59:59.500-05:00 to 2013-03-10T03:00:00.500-04:00 ok 129 0 -> -1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.000-05:00 ok 130 0 -> 1 for second from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:01.000-04:00 ok 131 0.5 -> -0.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T01:59:59.500-05:00 ok 132 1 -> 0 for second from 2013-03-10T03:00:01.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 133 0.5 -> 1.5 for second from 2013-03-10T03:00:00.500-04:00 to 2013-03-10T03:00:01.500-04:00 ok 134 should not be equal ok 135 should not be equal ok 136 should not be equal ok 137 should not be equal ok 138 should not be equal ok 139 should not be equal ok 140 should not be equal # addMinute ok 141 should be equal ok 142 should be equal ok 143 should be equal ok 144 should be equal ok 145 should be equal ok 146 should be equal ok 147 should be equal ok 148 should be equal ok 149 -1.5 -> -0.5 for minute from 2013-11-03T01:58:30.000-04:00 to 2013-11-03T01:59:30.000-04:00 ok 150 -1 -> 0 for minute from 2013-11-03T01:59:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 151 -0.5 -> 0.5 for minute from 2013-11-03T01:59:30.000-04:00 to 2013-11-03T01:00:30.000-05:00 ok 152 0 -> -1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:00.000-04:00 ok 153 0 -> 1 for minute from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:01:00.000-05:00 ok 154 0.5 -> -0.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:59:30.000-04:00 ok 155 1 -> 0 for minute from 2013-11-03T01:01:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 156 0.5 -> 1.5 for minute from 2013-11-03T01:00:30.000-05:00 to 2013-11-03T01:01:30.000-05:00 ok 157 should not be equal ok 158 should not be equal ok 159 should not be equal ok 160 should not be equal ok 161 should not be equal ok 162 should not be equal ok 163 should not be equal ok 164 -1.5 -> -0.5 for minute from 2013-03-10T01:58:30.000-05:00 to 2013-03-10T01:59:30.000-05:00 ok 165 -1 -> 0 for minute from 2013-03-10T01:59:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 166 -0.5 -> 0.5 for minute from 2013-03-10T01:59:30.000-05:00 to 2013-03-10T03:00:30.000-04:00 ok 167 0 -> -1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:00.000-05:00 ok 168 0 -> 1 for minute from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:01:00.000-04:00 ok 169 0.5 -> -0.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T01:59:30.000-05:00 ok 170 1 -> 0 for minute from 2013-03-10T03:01:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 171 0.5 -> 1.5 for minute from 2013-03-10T03:00:30.000-04:00 to 2013-03-10T03:01:30.000-04:00 ok 172 should not be equal ok 173 should not be equal ok 174 should not be equal ok 175 should not be equal ok 176 should not be equal ok 177 should not be equal ok 178 should not be equal ok 179 -1.5 -> -0.5 for minute from 2013-10-06T01:58:30.000+10:30 to 2013-10-06T01:59:30.000+10:30 ok 180 -1 -> 0 for minute from 2013-10-06T01:59:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 181 -0.5 -> 0.5 for minute from 2013-10-06T01:59:30.000+10:30 to 2013-10-06T02:30:30.000+11:00 ok 182 0 -> -1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T01:59:00.000+10:30 ok 183 0 -> 1 for minute from 2013-10-06T02:30:00.000+11:00 to 2013-10-06T02:31:00.000+11:00 ok 184 0.5 -> -0.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T01:59:30.000+10:30 ok 185 1 -> 0 for minute from 2013-10-06T02:31:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 186 0.5 -> 1.5 for minute from 2013-10-06T02:30:30.000+11:00 to 2013-10-06T02:31:30.000+11:00 ok 187 should not be equal ok 188 should not be equal ok 189 should not be equal ok 190 should not be equal ok 191 should not be equal ok 192 should not be equal ok 193 should not be equal ok 194 -1.5 -> -0.5 for minute from 2013-04-07T01:58:30.000+11:00 to 2013-04-07T01:59:30.000+11:00 ok 195 -1 -> 0 for minute from 2013-04-07T01:59:00.000+11:00 to 2013-04-07T01:30:00.000+10:30 ok 196 -0.5 -> 0.5 for minute from 2013-04-07T01:59:30.000+11:00 to 2013-04-07T01:30:30.000+10:30 ok 197 0 -> -1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:59:00.000+11:00 ok 198 0 -> 1 for minute from 2013-04-07T01:30:00.000+10:30 to 2013-04-07T01:31:00.000+10:30 ok 199 0.5 -> -0.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:59:30.000+11:00 ok 200 1 -> 0 for minute from 2013-04-07T01:31:00.000+10:30 to 2013-04-07T01:30:00.000+10:30 ok 201 0.5 -> 1.5 for minute from 2013-04-07T01:30:30.000+10:30 to 2013-04-07T01:31:30.000+10:30 ok 202 should not be equal ok 203 should not be equal ok 204 should not be equal ok 205 should not be equal ok 206 should not be equal ok 207 should not be equal ok 208 should not be equal # addHour ok 209 should be equal ok 210 should be equal ok 211 should be equal ok 212 should be equal ok 213 should be equal ok 214 should be equal ok 215 should be equal ok 216 should be equal ok 217 should be equal ok 218 should be equal ok 219 should be equal ok 220 should be equal ok 221 should be equal ok 222 -1.5 -> -0.5 for hour from 2013-11-03T00:30:00.000-04:00 to 2013-11-03T01:30:00.000-04:00 ok 223 -1 -> 0 for hour from 2013-11-03T01:00:00.000-04:00 to 2013-11-03T01:00:00.000-05:00 ok 224 -0.5 -> 0.5 for hour from 2013-11-03T01:30:00.000-04:00 to 2013-11-03T01:30:00.000-05:00 ok 225 0 -> -1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 226 0 -> 1 for hour from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T02:00:00.000-05:00 ok 227 0.5 -> -0.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T01:30:00.000-04:00 ok 228 1 -> 0 for hour from 2013-11-03T02:00:00.000-05:00 to 2013-11-03T01:00:00.000-05:00 ok 229 0.5 -> 1.5 for hour from 2013-11-03T01:30:00.000-05:00 to 2013-11-03T02:30:00.000-05:00 ok 230 should not be equal ok 231 should not be equal ok 232 should not be equal ok 233 should not be equal ok 234 should not be equal ok 235 should not be equal ok 236 should not be equal ok 237 -1.5 -> -0.5 for hour from 2013-03-10T00:30:00.000-05:00 to 2013-03-10T01:30:00.000-05:00 ok 238 -1 -> 0 for hour from 2013-03-10T01:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 239 -0.5 -> 0.5 for hour from 2013-03-10T01:30:00.000-05:00 to 2013-03-10T03:30:00.000-04:00 ok 240 0 -> -1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:00:00.000-05:00 ok 241 0 -> 1 for hour from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T04:00:00.000-04:00 ok 242 0.5 -> -0.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T01:30:00.000-05:00 ok 243 1 -> 0 for hour from 2013-03-10T04:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 244 0.5 -> 1.5 for hour from 2013-03-10T03:30:00.000-04:00 to 2013-03-10T04:30:00.000-04:00 ok 245 should not be equal ok 246 should not be equal ok 247 should not be equal ok 248 should not be equal ok 249 should not be equal ok 250 should not be equal ok 251 should not be equal # addDay ok 252 should be equal ok 253 should be equal ok 254 should be equal ok 255 should be equal ok 256 should be equal ok 257 should be equal ok 258 should be equal ok 259 should be equal ok 260 -1.5 -> -0.5B for day from 2013-10-31T02:00:00.000-04:00 to 2013-11-02T02:00:00.000-04:00 ok 261 -1 -> 0B for day from 2013-11-01T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 262 -0.5 -> 0.5B for day from 2013-11-02T02:00:00.000-04:00 to 2013-11-04T02:00:00.000-05:00 ok 263 0 -> -1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-10-01T01:00:00.000-04:00 ok 264 0 -> 1O for day from 2013-11-03T01:00:00.000-05:00 to 2013-11-05T01:00:00.000-05:00 ok 265 0.5 -> -0.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-02T01:00:00.000-04:00 ok 266 1 -> 0A for day from 2013-11-05T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 267 0.5 -> 1.5A for day from 2013-11-04T01:00:00.000-05:00 to 2013-11-06T01:00:00.000-05:00 ok 268 should not be equal ok 269 should not be equal ok 270 should not be equal ok 271 should not be equal ok 272 should not be equal ok 273 should not be equal ok 274 should not be equal ok 275 should not be equal ok 276 -1.5 -> -0.5B for day from 2013-03-07T02:00:00.000-05:00 to 2013-03-09T02:00:00.000-05:00 ok 277 -1 -> 0B for day from 2013-03-08T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 278 -0.5 -> 0.5B for day from 2013-03-09T02:00:00.000-05:00 to 2013-03-11T02:00:00.000-04:00 ok 279 0 -> -1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-08T03:00:00.000-05:00 ok 280 0 -> 1O for day from 2013-03-10T03:00:00.000-04:00 to 2013-03-12T03:00:00.000-04:00 ok 281 0.5 -> -0.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-09T03:00:00.000-05:00 ok 282 1 -> 0A for day from 2013-03-12T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 283 0.5 -> 1.5A for day from 2013-03-11T03:00:00.000-04:00 to 2013-03-13T03:00:00.000-04:00 ok 284 should not be equal ok 285 should not be equal ok 286 should not be equal ok 287 should not be equal ok 288 should not be equal ok 289 should not be equal ok 290 should not be equal ok 291 should not be equal ok 292 should be equal ok 293 -1.5 -> -0.5B for day from 2013-10-03T02:00:00.000+10:30 to 2013-10-05T02:00:00.000+10:30 ok 294 -1 -> 0B for day from 2013-10-04T02:00:00.000+10:30 to 2013-10-06T02:30:00.000+11:00 ok 295 -0.5 -> 0.5B for day from 2013-10-05T02:00:00.000+10:30 to 2013-10-07T02:00:00.000+11:00 ok 296 0 -> -1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-04T02:30:00.000+10:30 ok 297 0 -> 1O for day from 2013-10-06T02:30:00.000+11:00 to 2013-10-08T02:30:00.000+11:00 ok 298 0.5 -> -0.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-05T02:30:00.000+10:30 ok 299 1 -> 0A for day from 2013-10-08T02:30:00.000+11:00 to 2013-10-06T02:30:00.000+11:00 ok 300 0.5 -> 1.5A for day from 2013-10-07T02:30:00.000+11:00 to 2013-10-09T02:30:00.000+11:00 ok 301 should not be equal ok 302 should not be equal ok 303 should not be equal ok 304 should not be equal ok 305 should not be equal ok 306 should not be equal ok 307 should not be equal ok 308 should not be equal ok 309 -1.5 -> -0.5B for day from 2013-04-04T02:00:00.000+11:00 to 2013-04-06T02:00:00.000+11:00 ok 310 -1 -> 0B for day from 2013-04-05T02:00:00.000+11:00 to 2013-04-07T02:00:00.000+10:30 ok 311 -0.5 -> 0.5B for day from 2013-04-06T02:00:00.000+11:00 to 2013-04-08T02:00:00.000+10:30 ok 312 0 -> -1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-05T01:30:00.000+11:00 ok 313 0 -> 1O for day from 2013-04-07T01:30:00.000+10:30 to 2013-04-09T01:30:00.000+10:30 ok 314 0.5 -> -0.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-06T01:30:00.000+11:00 ok 315 1 -> 0A for day from 2013-04-09T01:30:00.000+10:30 to 2013-04-07T01:30:00.000+11:00 ok 316 0.5 -> 1.5A for day from 2013-04-08T01:30:00.000+10:30 to 2013-04-10T01:30:00.000+10:30 ok 317 should not be equal ok 318 should not be equal ok 319 should not be equal ok 320 should not be equal ok 321 should not be equal ok 322 should not be equal ok 323 should not be equal ok 324 should not be equal # addWeek ok 325 should be equal ok 326 should be equal ok 327 should be equal ok 328 should be equal ok 329 should be equal ok 330 should be equal ok 331 should be equal ok 332 should be equal ok 333 should be equal ok 334 should be equal ok 335 should be equal ok 336 should be equal not ok 337 should be equal --- operator: equal expected: "2013-09-01T00:00:00.000-07:00" actual: "2013-08-01T00:00:00.000-07:00" at: Test.equal.Test.equals.Test.isEqual.Test.is.Test.strictEqual.Test.strictEquals (http://git.testling.com/work/colingo/repos/2fb00aaa959b092de049e080ea15eb714caec5b0.1377899909554/1377899910682.c003b8a1.js:11397:10) ... ok 338 should be equal ok 339 should be equal ok 340 -1.5 -> -0.5B for week from 2013-10-13T02:00:00.000-04:00 to 2013-10-27T02:00:00.000-04:00 ok 341 -1 -> 0B for week from 2013-10-20T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 342 -0.5 -> 0.5B for week from 2013-10-27T02:00:00.000-04:00 to 2013-11-10T02:00:00.000-05:00 ok 343 0 -> -1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-10-20T01:00:00.000-04:00 ok 344 0 -> 1O for week from 2013-11-03T01:00:00.000-05:00 to 2013-11-17T01:00:00.000-05:00 ok 345 0.5 -> -0.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-10-27T01:00:00.000-04:00 ok 346 1 -> 0A for week from 2013-11-17T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 347 0.5 -> 1.5A for week from 2013-11-10T01:00:00.000-05:00 to 2013-11-24T01:00:00.000-05:00 ok 348 should not be equal ok 349 should not be equal ok 350 should not be equal ok 351 should not be equal ok 352 should not be equal ok 353 should not be equal ok 354 should not be equal ok 355 should not be equal ok 356 -1.5 -> -0.5B for week from 2013-02-17T02:00:00.000-05:00 to 2013-03-03T02:00:00.000-05:00 ok 357 -1 -> 0B for week from 2013-02-24T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 358 -0.5 -> 0.5B for week from 2013-03-03T02:00:00.000-05:00 to 2013-03-17T02:00:00.000-04:00 ok 359 0 -> -1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-02-24T03:00:00.000-05:00 ok 360 0 -> 1O for week from 2013-03-10T03:00:00.000-04:00 to 2013-03-24T03:00:00.000-04:00 ok 361 0.5 -> -0.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-03T03:00:00.000-05:00 ok 362 1 -> 0A for week from 2013-03-24T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 363 0.5 -> 1.5A for week from 2013-03-17T03:00:00.000-04:00 to 2013-03-31T03:00:00.000-04:00 ok 364 should not be equal ok 365 should not be equal ok 366 should not be equal ok 367 should not be equal ok 368 should not be equal ok 369 should not be equal ok 370 should not be equal ok 371 should not be equal # addMonth ok 372 should be equal ok 373 should be equal ok 374 should be equal ok 375 should be equal ok 376 should be equal ok 377 should be equal ok 378 should be equal ok 379 should be equal ok 380 should be equal ok 381 should be equal ok 382 should be equal ok 383 -1.5 -> -0.5B for month from 2013-08-03T02:00:00.000-04:00 to 2013-10-03T02:00:00.000-04:00 ok 384 -1 -> 0B for month from 2013-09-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 385 -0.5 -> 0.5B for month from 2013-10-03T02:00:00.000-04:00 to 2013-12-03T02:00:00.000-05:00 ok 386 0 -> -1O for month from 2013-11-03T01:00:00.000-05:00 to 2013-09-03T01:00:00.000-04:00 ok 387 0 -> 1O for month from 2013-11-03T01:00:00.000-05:00 to 2014-01-03T01:00:00.000-05:00 ok 388 0.5 -> -0.5A for month from 2013-12-03T01:00:00.000-05:00 to 2013-10-03T01:00:00.000-04:00 ok 389 1 -> 0A for month from 2014-01-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 390 0.5 -> 1.5A for month from 2013-12-03T01:00:00.000-05:00 to 2014-02-03T01:00:00.000-05:00 ok 391 should not be equal ok 392 should not be equal ok 393 should not be equal ok 394 should not be equal ok 395 should not be equal ok 396 should not be equal ok 397 should not be equal ok 398 should not be equal ok 399 -1.5 -> -0.5B for month from 2012-12-10T02:00:00.000-05:00 to 2013-02-10T02:00:00.000-05:00 ok 400 -1 -> 0B for month from 2013-01-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 401 -0.5 -> 0.5B for month from 2013-02-10T02:00:00.000-05:00 to 2013-04-10T02:00:00.000-04:00 ok 402 0 -> -1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-01-10T03:00:00.000-05:00 ok 403 0 -> 1O for month from 2013-03-10T03:00:00.000-04:00 to 2013-05-10T03:00:00.000-04:00 ok 404 0.5 -> -0.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-02-10T03:00:00.000-05:00 ok 405 1 -> 0A for month from 2013-05-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 406 0.5 -> 1.5A for month from 2013-04-10T03:00:00.000-04:00 to 2013-06-10T03:00:00.000-04:00 ok 407 should not be equal ok 408 should not be equal ok 409 should not be equal ok 410 should not be equal ok 411 should not be equal ok 412 should not be equal ok 413 should not be equal ok 414 should not be equal # addYear ok 415 should be equal ok 416 should be equal ok 417 should be equal ok 418 should be equal ok 419 should be equal ok 420 should be equal ok 421 -1.5 -> -0.5B for year from 2010-11-03T02:00:00.000-04:00 to 2012-11-03T02:00:00.000-04:00 ok 422 -1 -> 0B for year from 2011-11-03T02:00:00.000-04:00 to 2013-11-03T02:00:00.000-05:00 ok 423 -0.5 -> 0.5B for year from 2012-11-03T02:00:00.000-04:00 to 2014-11-03T02:00:00.000-05:00 ok 424 0 -> -1O for year from 2013-11-03T01:00:00.000-05:00 to 2011-11-03T01:00:00.000-04:00 ok 425 0 -> 1O for year from 2013-11-03T01:00:00.000-05:00 to 2015-11-03T01:00:00.000-05:00 ok 426 0.5 -> -0.5A for year from 2014-11-03T01:00:00.000-05:00 to 2012-11-03T01:00:00.000-04:00 ok 427 1 -> 0A for year from 2015-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.000-04:00 ok 428 0.5 -> 1.5A for year from 2014-11-03T01:00:00.000-05:00 to 2016-11-03T01:00:00.000-04:00 ok 429 should not be equal ok 430 should not be equal ok 431 should not be equal ok 432 should not be equal ok 433 should not be equal ok 434 should not be equal ok 435 should not be equal ok 436 should not be equal ok 437 -1.5 -> -0.5B for year from 2010-03-10T02:00:00.000-05:00 to 2012-03-10T02:00:00.000-05:00 ok 438 -1 -> 0B for year from 2011-03-10T02:00:00.000-05:00 to 2013-03-10T03:00:00.000-04:00 ok 439 -0.5 -> 0.5B for year from 2012-03-10T02:00:00.000-05:00 to 2014-03-10T02:00:00.000-04:00 ok 440 0 -> -1O for year from 2013-03-10T03:00:00.000-04:00 to 2011-03-10T03:00:00.000-05:00 ok 441 0 -> 1O for year from 2013-03-10T03:00:00.000-04:00 to 2015-03-10T03:00:00.000-04:00 ok 442 0.5 -> -0.5A for year from 2014-03-10T03:00:00.000-04:00 to 2012-03-10T03:00:00.000-05:00 ok 443 1 -> 0A for year from 2015-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.000-04:00 ok 444 0.5 -> 1.5A for year from 2014-03-10T03:00:00.000-04:00 to 2016-03-10T03:00:00.000-05:00 ok 445 should not be equal ok 446 should not be equal ok 447 should not be equal ok 448 should not be equal ok 449 should not be equal ok 450 should not be equal ok 451 should not be equal ok 452 should not be equal # add with local format ok 453 should be equal # add with timezone syntax ok 454 should be equal # no amount throws ok 455 should throw # add invalid type ok 456 should throw # format ok 457 should be equal ok 458 should not be equal 1..458 # tests 458 # pass 457 # fail 1
TAP version 13 # BrowserTimezone is a function ok 1 should be equal # tz has correct methods ok 2 should be equal ok 3 should be equal ok 4 should be equal ok 5 should be equal ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be equal ok 10 should be equal ok 11 should be equal # tz.IsoString ok 12 should be equal ok 13 should be equal ok 14 should be equal ok 15 should be equal ok 16 should be equal ok 17 should be equal ok 18 should be equal ok 19 should be equal ok 20 should be equal ok 21 should be equal ok 22 should be equal ok 23 should be equal ok 24 should be equal ok 25 should be equal ok 26 should be equal ok 27 should be equal ok 28 should be equal ok 29 should be equal # tz.IsoString ambigious ok 30 should be equal ok 31 should be equal ok 32 should be equal ok 33 should be equal ok 34 should be equal ok 35 should be equal ok 36 should be equal ok 37 should be equal ok 38 should be equal ok 39 should be equal ok 40 should be equal ok 41 should be equal ok 42 should be equal # tz.IsoString ambigious dates for +30m/-30m DST ok 43 should be equal ok 44 should be equal ok 45 should be equal ok 46 should be equal ok 47 should be equal ok 48 should be equal ok 49 should be equal ok 50 should be equal ok 51 should be equal ok 52 should be equal ok 53 should be equal ok 54 should be equal ok 55 should be equal ok 56 should be equal ok 57 should be equal ok 58 should be equal ok 59 should be equal ok 60 should be equal # addMillisecond ok 61 should be equal ok 62 should be equal ok 63 should be equal ok 64 should be equal ok 65 should be equal ok 66 should be equal ok 67 should be equal ok 68 should be equal ok 69 should be equal ok 70 -1.5 -> -0.5 for milliSecond from 2013-11-03T01:59:59.850-04:00 to 2013-11-03T01:59:59.950-04:00 ok 71 -1 -> 0 for milliSecond from 2013-11-03T01:59:59.900-04:00 to 2013-11-03T01:00:00.000-05:00 ok 72 -0.5 -> 0.5 for milliSecond from 2013-11-03T01:59:59.950-04:00 to 2013-11-03T01:00:00.050-05:00 ok 73 0 -> -1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:59:59.900-04:00 ok 74 0 -> 1 for milliSecond from 2013-11-03T01:00:00.000-05:00 to 2013-11-03T01:00:00.100-05:00 ok 75 0.5 -> -0.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:59:59.950-04:00 ok 76 1 -> 0 for milliSecond from 2013-11-03T01:00:00.100-05:00 to 2013-11-03T01:00:00.000-05:00 ok 77 0.5 -> 1.5 for milliSecond from 2013-11-03T01:00:00.050-05:00 to 2013-11-03T01:00:00.150-05:00 ok 78 should not be equal ok 79 should not be equal ok 80 should not be equal ok 81 should not be equal ok 82 should not be equal ok 83 should not be equal ok 84 should not be equal ok 85 -1.5 -> -0.5 for milliSecond from 2013-03-10T01:59:59.850-05:00 to 2013-03-10T01:59:59.950-05:00 ok 86 -1 -> 0 for milliSecond from 2013-03-10T01:59:59.900-05:00 to 2013-03-10T03:00:00.000-04:00 ok 87 -0.5 -> 0.5 for milliSecond from 2013-03-10T01:59:59.950-05:00 to 2013-03-10T03:00:00.050-04:00 ok 88 0 -> -1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T01:59:59.900-05:00 ok 89 0 -> 1 for milliSecond from 2013-03-10T03:00:00.000-04:00 to 2013-03-10T03:00:00.100-04:00 ok 90 0.5 -> -0.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T01:59:59.950-05:00 ok 91 1 -> 0 for milliSecond from 2013-03-10T03:00:00.100-04:00 to 2013-03-10T03:00:00.000-04:00 ok 92 0.5 -> 1.5 for milliSecond from 2013-03-10T03:00:00.050-04:00 to 2013-03-10T03:00:00.150-04:00 ok 93 should no