Exemple #1
0
 public static void NextWeek(out DateTime firstDay, out DateTime lastDay, DateTime?referenceDate = null)
 {
     DateTimeExtensionMethods.ThisWeek(out firstDay, out lastDay, (referenceDate == null ? DateTime.Now.Date : referenceDate.Value.Date).AddDays(7));
 }
Exemple #2
0
 public static void ThisWeekAndAhead(out DateTime firstDay, out DateTime lastDay, DateTime?referenceDate = null)
 {
     DateTimeExtensionMethods.ThisWeek(out firstDay, out lastDay, referenceDate);
     lastDay = System.Data.SqlTypes.SqlDateTime.MaxValue.Value;
 }