DateTimeOffsetExtensions.GetAbbreviatedLocalDayName method

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

GetAbbreviatedLocalDayName(DateTimeOffset)

Extension method

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

public static string GetAbbreviatedLocalDayName(this DateTimeOffset date)

Parameters

An instance of DateTimeOffset representing the date.

Returns

The local abbreviated name of the day.

GetAbbreviatedLocalDayName(DateTimeOffset, CultureInfo)

Extension method

Gets the name of the day according to culture.

public static string GetAbbreviatedLocalDayName(this DateTimeOffset date, CultureInfo culture)

Parameters

An instance of DateTimeOffset representing the date.

culture CultureInfo

The instance of CultureInfo to be used.

Returns

The local abbreviated name of the day.