/// <summary> /// Gets the abbreviated name of the month of this date based on the current UI culture. /// </summary> /// <param name="date">The date of which to get the month name.</param> public static string GetMonthNameAbbreviated(DateTime date) { return(GlobalizationUtility.GetMonthNameAbbreviated(date)); }
/// <summary> /// Gets the full name of the month of this date based on the current UI culture. /// </summary> /// <param name="date">The date of which to get the month name.</param> public static string GetMonthName(this DateTime date) { return(GlobalizationUtility.GetMonthName(date)); }
/// <summary> /// Gets the full name of this week day based on the current UI culture. /// </summary> /// <param name="dayOfWeek">The week day for which to get the name.</param> public static string GetName(this DayOfWeek dayOfWeek) { return(GlobalizationUtility.GetWeekDayName(dayOfWeek)); }