TimeUtils.GetAbbreviatedLocalDayName method

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

GetAbbreviatedLocalDayName(DayOfWeek)

Static

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

public static string GetAbbreviatedLocalDayName(DayOfWeek day)

Parameters

day DayOfWeek

The day of the week.

Returns

The local name of the day.

GetAbbreviatedLocalDayName(DateTime)

Static

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

public static string GetAbbreviatedLocalDayName(DateTime date)

Parameters

date DateTime

The date.

Returns

The local name of the day.

GetAbbreviatedLocalDayName(DateTimeOffset)

Static

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

public static string GetAbbreviatedLocalDayName(DateTimeOffset date)

Parameters

The date.

Returns

The local name of the day.

GetAbbreviatedLocalDayName(DayOfWeek, CultureInfo)

Static

Gets the abbreviated name of the day according to culture.

public static string GetAbbreviatedLocalDayName(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.

GetAbbreviatedLocalDayName(DateTime, CultureInfo)

Static

Gets the abbreviated name of the day according to culture.

public static string GetAbbreviatedLocalDayName(DateTime date, CultureInfo culture)

Parameters

date DateTime

The date.

culture CultureInfo

The CultureInfo to be used.

Returns

The local name of the day.

GetAbbreviatedLocalDayName(DateTimeOffset, CultureInfo)

Static

Gets the abbreviated name of the day according to culture.

public static string GetAbbreviatedLocalDayName(DateTimeOffset date, CultureInfo culture)

Parameters

The date.

culture CultureInfo

The CultureInfo to be used.

Returns

The local name of the day.