public void ToTimeStringWorks() { var dt = new JsDate(2011, 7, 12, 13, 42); var s = dt.ToTimeString(); Assert.IsTrue(s.IndexOf("2011") < 0 && s.IndexOf("42") >= 0); }