public void shouldParseDateForValidInput() { DateTime result = new DateParser("2012-12-31T23:59Z").parse(); Assert.AreEqual(2012, result.Year); Assert.AreEqual(12, result.Month); Assert.AreEqual(31, result.Day); }
public void shouldParseDateForValidInput() { DateTime result = new DateParser("2012-12-31T23:59Z").parse(); Assert.AreEqual(2012, result.Year); Assert.AreEqual(12, result.Month); Assert.AreEqual(31, result.Day); }