public void InJanuaryOf2009() { var inJan = In.JanuaryOf(2009); Assert.Equal(2009, inJan.Year); Assert.Equal(1, inJan.Month); Assert.Equal(1, inJan.Day); Assert.Equal(0, inJan.Hour); Assert.Equal(0, inJan.Minute); Assert.Equal(0, inJan.Second); Assert.Equal(0, inJan.Millisecond); }
public void InJanuaryOf2009() { Assert.Equal(new DateTime(2009, 1, 1), In.JanuaryOf(2009)); }