ScheduleWidget.Core 2.1.1

.NET Core 2.1
Install-Package ScheduleWidget.Core -Version 2.1.1
dotnet add package ScheduleWidget.Core --version 2.1.1
<PackageReference Include="ScheduleWidget.Core" Version="2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ScheduleWidget.Core --version 2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ScheduleWidget.Core, 2.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ScheduleWidget.Core as a Cake Addin
#addin nuget:?package=ScheduleWidget.Core&version=2.1.1

// Install ScheduleWidget.Core as a Cake Tool
#tool nuget:?package=ScheduleWidget.Core&version=2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


Scheduling engine to create recurring events for calendars

ScheduleWidget is a scheduling engine that creates recurring events for calendars. It is an implementation based on Martin Fowler's white paper Recurring Events for Calendars in which he describes the software design. This is a complete .NET Core 2.0 rewrite of the popular .NET Framework version. Suppose we want to create a schedule that describes the first Monday of every month:

var builder = new ScheduleBuilder();

var schedule = builder

Once we create a Schedule we can ask it questions. The Schedule exposes methods (documented in more detail below) that return schedule occurrences (concrete DateTime value objects) over a defined period of time. Suppose DateTime.Today is 20 December 2030:

var during = new DateRange(DateTime.Today, DateTime.Today.AddMonths(6));

foreach (var date in schedule.Occurrences(during))

Output CultureInfo("en-US"):


That's all there is to it. Visit the Project Portal for download instructions, detailed documentation, and code samples.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.1 17,497 12/12/2018
2.1.0 2,180 12/17/2017
2.0.0 776 12/15/2017