/// <summary> /// Gets the name of the day according to <paramref name="culture"/>. /// </summary> /// <param name="date">The date.</param> /// <param name="culture">The <see cref="CultureInfo"/> to be used.</param> /// <returns>The local name of the day.</returns> public static string GetLocalDayName(DateTimeOffset date, CultureInfo culture) { return(TimeUtils.GetLocalDayName(date, culture)); }
/// <summary> /// Gets the name of the day according to the current culture. /// </summary> /// <param name="date">The date.</param> /// <returns>The local name of the day.</returns> public static string GetLocalDayName(DateTimeOffset date) { return(TimeUtils.GetLocalDayName(date)); }