Searched refs:timeSpan (Results 1 – 2 of 2) sorted by relevance
71 public static Duration ToDuration(this TimeSpan timeSpan) in ToDuration() argument73 return Duration.FromTimeSpan(timeSpan); in ToDuration()
103 public static Duration FromTimeSpan(TimeSpan timeSpan) in FromTimeSpan() argument107 long ticks = timeSpan.Ticks; in FromTimeSpan()