Searched refs:FromSeconds (Results 1 – 3 of 3) sorted by relevance
43 Assert.AreEqual(TimeSpan.FromSeconds(1), new Duration { Seconds = 1 }.ToTimeSpan()); in ToTimeSpan()44 Assert.AreEqual(TimeSpan.FromSeconds(-1), new Duration { Seconds = -1 }.ToTimeSpan()); in ToTimeSpan()95 … Assert.AreEqual(new Duration { Seconds = 1 }, Duration.FromTimeSpan(TimeSpan.FromSeconds(1))); in FromTimeSpan()
168 message.FromSeconds(1)173 message.FromSeconds(-1)219 message.FromSeconds(1)223 message.FromSeconds(-1)
221 def FromSeconds(self, seconds): member in Timestamp336 def FromSeconds(self, seconds): member in Duration