Skip to content

CultureExtensions Class ​

Definition ​

Extensions for the CultureInfo class

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

Methods ​

NameDescription
DayOfWeek FirstDayOfWeek(CultureInfo culture)Get first day of the week based on specified culture
IReadOnlyCollection<DayOfWeek> GetLikelyWeekendDays(CultureInfo culture)Gets the likely weekend days for a given culture based on its first day of the week.
DayOfWeek LastDayOfWeek(CultureInfo culture)Get last day of the week based on specified culture