TimeUtils.ParseEnumFromMonthName method

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

ParseEnumFromMonthName(string)

Static

Converts the specified monthName into the an instance of EssentialsDateMonthName (eg. August will be converted to August).

public static EssentialsDateMonthName ParseEnumFromMonthName(string monthName)

Parameters

monthName String

The name of the month.

Returns

An instance of EssentialsDateMonthName representing the month.

ParseEnumFromMonthName(string, IFormatProvider)

Static

Converts the specified monthName into the an instance of EssentialsDateMonthName (eg. August will be converted to August).

public static EssentialsDateMonthName ParseEnumFromMonthName(string monthName, IFormatProvider provider)

Parameters

monthName String

The name of the month.

provider IFormatProvider

An object that supplies culture-specific format information about monthName.

Returns

An instance of EssentialsDateMonthName representing the month.