コード例 #1
0
 /// <summary>
 /// Gets date for previous instance of day.
 /// </summary>
 /// <param name="startDate">Date to start at.</param>
 /// <param name="moveTo">Day of the week to move to.</param>
 /// <returns></returns>
 public static DateTime MereGetPrevDayOfWeekDate(this DateTime startDate, string moveTo)
 {
     return(MereUtils.GetPrevDayOfWeek(startDate, moveTo));
 }