public void GetLocalInstant_InvalidTickOfMillisecond_Throws() { Assert.Throws <ArgumentOutOfRangeException>(() => Iso.GetLocalInstant(2010, 2, 20, 21, 57, 30, 250, 10000)); }
public void GetLocalInstant_InvalidSecond_Throws() { Assert.Throws <ArgumentOutOfRangeException>(() => Iso.GetLocalInstant(2010, 2, 20, 21, 57, 60, 250, 1234)); }
public void GetLocalInstant_29thOfFebruaryInLeapYear_DoesntThrow() { Iso.GetLocalInstant(2012, 2, 29, 21, 57, 30, 250, 1234); }
public void GetLocalInstant_29thOfFebruaryInNonLeapYear_Throws() { Assert.Throws <ArgumentOutOfRangeException>(() => Iso.GetLocalInstant(2010, 2, 29, 21, 57, 30, 250, 1234)); }
public void GetLocalInstant_InvalidYear_Throws() { Assert.Throws <ArgumentOutOfRangeException>(() => Iso.GetLocalInstant(50000, 2, 20, 21, 57, 30, 250, 1234)); }
public void GetLocalInstant_AllValues_ValidValuesDoesntThrow() { Iso.GetLocalInstant(2010, 2, 20, 21, 57, 30, 250, 1234); }