示例#1
0
 /// <summary>
 /// Add days
 /// </summary>
 /// <param name="i"></param>
 /// <param name="days"></param>
 /// <returns></returns>
 /// <exception cref="ArgumentNullException"></exception>
 public static Instant AddDays(this Instant i, int days) => i.PlusDays(days);
示例#2
0
 /// <summary>
 /// Add days
 /// </summary>
 /// <param name="i"></param>
 /// <param name="days"></param>
 /// <returns></returns>
 /// <exception cref="ArgumentNullException"></exception>
 public static Instant AddDays(this Instant i, double days) => i.PlusDays(days);