Exemplo n.º 1
0
 /// <summary>
 /// Add seconds
 /// </summary>
 /// <param name="i"></param>
 /// <param name="seconds"></param>
 /// <returns></returns>
 /// <exception cref="ArgumentNullException"></exception>
 public static Instant AddSeconds(this Instant i, double seconds) => i.PlusSeconds(seconds);
Exemplo n.º 2
0
 /// <summary>
 /// Add seconds
 /// </summary>
 /// <param name="i"></param>
 /// <param name="seconds"></param>
 /// <returns></returns>
 /// <exception cref="ArgumentNullException"></exception>
 public static Instant AddSeconds(this Instant i, long seconds) => i.PlusSeconds(seconds);