Searched refs:FromSeconds (Results 1 – 6 of 6) 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()
180 message.FromSeconds(1)185 message.FromSeconds(-1)231 message.FromSeconds(1)235 message.FromSeconds(-1)
234 def FromSeconds(self, seconds): member in Timestamp362 def FromSeconds(self, seconds): member in Duration
81 static constexpr TimeDelta FromSeconds(int64_t seconds) { in FromSeconds() function
59721 static inline BaseTimeDuration FromSeconds(double aSeconds) in FromSeconds() function in mozilla::BaseTimeDuration