Initializing a timezoneJS UTC Date with setTime() results in a plain incorrect date. I checked d.valueOf() using unixtimestamp.com and the javascript Date returns the correct unix timestamp.
var d: Date = new Date("2014-10-26T01:59:59.000Z");
var t = new timezoneJS.Date("UTC");
t.setTime(d.valueOf());
// FAIL: returns 02:59:59
expect(t.toUTCString()).to.equal("Sun, 26 Oct 2014 01:59:59 GMT");
Initializing a timezoneJS UTC Date with setTime() results in a plain incorrect date. I checked d.valueOf() using unixtimestamp.com and the javascript Date returns the correct unix timestamp.