/// <summary> /// Gets the name of the month 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 month.</returns> public static string GetLocalMonthName(DateTimeOffset date, CultureInfo culture) { return(TimeUtils.GetLocalMonthName(date, culture)); }
/// <summary> /// Gets the name of the month according to the current culture. /// </summary> /// <param name="date">The date.</param> /// <returns>The local name of the month.</returns> public static string GetLocalMonthName(DateTime date) { return(TimeUtils.GetLocalMonthName(date)); }