public void ToLocalTime() { var timeOnly = new TimeOnly(12, 34, 56, 300).Add(TimeSpan.FromTicks(4567)); var expected = new LocalTime(12, 34, 56, 300).PlusTicks(4567); var actual = timeOnly.ToLocalTime(); Assert.AreEqual(expected, actual); }