Soenneker.Enums.DayOfWeek 11.0.802

Prefix Reserved
dotnet add package Soenneker.Enums.DayOfWeek --version 11.0.802
                    
NuGet\Install-Package Soenneker.Enums.DayOfWeek -Version 11.0.802
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Enums.DayOfWeek" Version="11.0.802" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Enums.DayOfWeek" Version="11.0.802" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Enums.DayOfWeek" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Enums.DayOfWeek --version 11.0.802
                    
#r "nuget: Soenneker.Enums.DayOfWeek, 11.0.802"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Enums.DayOfWeek@11.0.802
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Enums.DayOfWeek&version=11.0.802
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Enums.DayOfWeek&version=11.0.802
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Enums.DayOfWeek

A string-backed enum-value type for representing a named day in API and application contracts.

Install

dotnet add package Soenneker.Enums.DayOfWeek

Usage

using Soenneker.Enums.DayOfWeek;

DayOfWeekType day = DayOfWeekType.Monday;
string wireValue = day.Value; // "Monday"

if (DayOfWeekType.TryFromValue(input, out DayOfWeekType? parsed))
{
    // parsed is one of the shared static instances
}

Available values are Sunday through Saturday, with matching case-sensitive string values. System.Text.Json serializes the type as that string and restores recognized values to the corresponding static instance. FromValue throws for unknown input; use TryFromValue for request values. FromName and TryFromName are also generated.

DayOfWeekType is not System.DayOfWeek and does not define numeric values or culture-specific week ordering. Convert deliberately when a BCL API is required:

System.DayOfWeek systemDay = Enum.Parse<System.DayOfWeek>(day.Value);

DayOfWeekType contractDay = DayOfWeekType.FromValue(systemDay.ToString());

The type identifies a day only. The consuming application still defines the first day of the week, locale-specific display text, time zone, and business-day rules.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Soenneker.Enums.DayOfWeek:

Package Downloads
Soenneker.Extensions.DateTime.Day

A collection of helpful DateTime day-based extension methods

Soenneker.Cron.Builder

A fluent, flexible utility that dynamically constructs validated 5 or 6 field cron expressions through intuitive method chaining for any scheduling scenario.

Soenneker.Utils.CronExpressions

A comprehensive utility class that provides intuitive, validated, and fluent methods for generating dynamic and human-readable cron expressions for scheduling tasks.

Soenneker.Extensions.DateTimeOffsets.Days

A collection of helpful DateTimeOffset day extension methods

Soenneker.Extensions.DayOfWeek

A collection of helpful DayOfWeek enum extension methods

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.802 1,123 10/27/2026
11.0.801 379 10/26/2026
11.0.800 288 10/26/2026
11.0.799 189 10/26/2026
11.0.798 147 10/26/2026
11.0.797 113 10/26/2026
4.0.796 1,308 10/15/2026
4.0.795 251 10/14/2026
4.0.794 316 10/14/2026
4.0.792 178 10/14/2026
4.0.791 118 10/14/2026
4.0.790 114 10/14/2026
4.0.785 238 10/13/2026
4.0.784 188 10/12/2026
4.0.782 328 10/12/2026
4.0.781 448 10/11/2026
4.0.780 412 10/11/2026
4.0.779 188 10/11/2026
4.0.778 1,279 9/30/2026
4.0.777 450 9/25/2026
Loading failed

Remove redundant framework conditions