public void SetTimeWorks() { var dt = new JsDate(); dt.SetTime(3498302349234L); Assert.AreEqual(dt.GetTime(), 3498302349234L); }
public void GetTimeWorks() { var dt = new JsDate(JsDate.Utc(1970, 0, 2)); Assert.AreEqual(dt.GetTime(), 1440 * 60 * 1000); }