Пример #1
0
 /// <summary>
 /// Gets the full name of the week day of this date based on the current UI culture.
 /// </summary>
 /// <param name="date">The date of which to get the week day name.</param>
 public static string GetWeekDayName(this DateTime date)
 {
     return(GlobalizationUtility.GetWeekDayName(date));
 }
Пример #2
0
 /// <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));
 }