Example #1
0
 public ZonedDateTime PlusMinutes(int minutes) => this + Duration.FromMinutes(minutes);
Example #2
0
 public OffsetDateTime PlusMinutes(int minutes) => this + Duration.FromMinutes(minutes);
Example #3
0
 /// <summary>
 /// From minutes
 /// </summary>
 /// <param name="minutes"></param>
 /// <returns></returns>
 public static Duration AsDurationOfMinutes(this double minutes) => Duration.FromMinutes(minutes);
Example #4
0
 private NetworkClock()
 {
     NtpServer    = "pool.ntp.org";
     CacheTimeout = Duration.FromMinutes(15);
 }
Example #5
0
 /// <summary>
 /// From minutes
 /// </summary>
 /// <param name="minutes"></param>
 /// <returns></returns>
 public static Duration AsDurationOfMinutes(this long minutes) => Duration.FromMinutes(minutes);