TimeUtils.GetLocalDayName method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

GetLocalDayName(DayOfWeek)

Static

Gets the name of the day according to the current culture.

public static string GetLocalDayName(DayOfWeek day)

Parameters

day DayOfWeek

The day of the week.

Returns

The local name of the day.

GetLocalDayName(DateTime)

Static

Gets the name of the day according to the current culture.

public static string GetLocalDayName(DateTime date)

Parameters

date DateTime

The date.

Returns

The local name of the day.

GetLocalDayName(DateTimeOffset)

Static

Gets the name of the day according to the current culture.

public static string GetLocalDayName(DateTimeOffset date)

Parameters

The date.

Returns

The local name of the day.

GetLocalDayName(DayOfWeek, CultureInfo)

Static

Gets the name of the day according to culture.

public static string GetLocalDayName(DayOfWeek day, CultureInfo culture)

Parameters

day DayOfWeek

The day of the week.

culture CultureInfo

The CultureInfo to be used.

Returns

The local name of the day.

GetLocalDayName(DateTime, CultureInfo)

Static

Gets the name of the day according to culture.

public static string GetLocalDayName(DateTime date, CultureInfo culture)

Parameters

date DateTime

The date.

culture CultureInfo

The CultureInfo to be used.

Returns

The local name of the day.

GetLocalDayName(DateTimeOffset, CultureInfo)

Static

Gets the name of the day according to culture.

public static string GetLocalDayName(DateTimeOffset date, CultureInfo culture)

Parameters

The date.

culture CultureInfo

The CultureInfo to be used.

Returns

The local name of the day.