blob: 26bf2f6db61cf19d090f6d6f68c595fe890ea12c [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
shouldBe(Date.parse("2514-06-01T00:00:00.148Z"), 17180035200148);
shouldBe(Date.parse("2514-06-01T00:00:00.14Z"), 17180035200140);
shouldBe(Date.parse("2514-06-01T00:00:00.1Z"), 17180035200100);