Beispiel #1
0
 public OffsetDateTime PlusHours(int hours) => this + Duration.FromHours(hours);
Beispiel #2
0
 public ZonedDateTime PlusHours(int hours) => this + Duration.FromHours(hours);
Beispiel #3
0
 /// <summary>
 /// From minutes
 /// </summary>
 /// <param name="hours"></param>
 /// <returns></returns>
 public static Duration AsDurationOfHours(this double hours) => Duration.FromHours(hours);