/// <summary> /// Returns whether <paramref name="date"/> is within the last number of specified <paramref name="days"/>. /// </summary> /// <param name="date">The date.</param> /// <param name="days">The number of days.</param> /// <returns><c>true</c> if the date is within the last number of days, otherwise <c>false</c>.</returns> public static bool IsDateWithinLastDays(DateTimeOffset date, int days) { return(TimeUtils.IsDateWithinLastDays(date, days)); }