public void GetLocalInstant_29thOfFebruaryInLeapYear_DoesntThrow() { Iso.ValidateYearMonthDay(2012, 2, 29); }
public void GetLocalInstant_29thOfFebruaryInNonLeapYear_Throws() { Assert.Throws <ArgumentOutOfRangeException>(() => Iso.ValidateYearMonthDay(2010, 2, 29)); }
public void ValidateYearMonthDay_InvalidYear_Throws() { Assert.Throws <ArgumentOutOfRangeException>(() => Iso.ValidateYearMonthDay(50000, 2, 20)); }
public void GetLocalInstant_InvalidMonth_Throws() { Assert.Throws <ArgumentOutOfRangeException>(() => Iso.ValidateYearMonthDay(2010, 13, 20)); }
public void ValidateYearMonthDay_AllValues_ValidValuesDoesntThrow() { Iso.ValidateYearMonthDay(20, 2, 20); }