Gurux.Scheduling 1.0.2609.2201

dotnet add package Gurux.Scheduling --version 1.0.2609.2201
                    
NuGet\Install-Package Gurux.Scheduling -Version 1.0.2609.2201
                    
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="Gurux.Scheduling" Version="1.0.2609.2201" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gurux.Scheduling" Version="1.0.2609.2201" />
                    
Directory.Packages.props
<PackageReference Include="Gurux.Scheduling" />
                    
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 Gurux.Scheduling --version 1.0.2609.2201
                    
#r "nuget: Gurux.Scheduling, 1.0.2609.2201"
                    
#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 Gurux.Scheduling@1.0.2609.2201
                    
#: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=Gurux.Scheduling&version=1.0.2609.2201
                    
Install as a Cake Addin
#tool nuget:?package=Gurux.Scheduling&version=1.0.2609.2201
                    
Install as a Cake Tool

Gurux Scheduling for .NET

Gurux.Scheduling.Net provides culture-aware date-time schedules for .NET 10.
It supports fixed date-times, wildcard schedule fields, localized weekday schedules,
and invariant JSON serialization.

Features

  • Culture-aware GXDateTime parsing and formatting.
  • Wildcards for year, month, day, hour, minute, and second.
  • Localized weekday schedules such as Monday/*/* 12:00:00 PM, Montag/*/* 12:00:00, and maanantai/*/* 12.00.00.
  • Next-occurrence calculation with GXDateTime.GetNextScheduledDates.
  • Invariant System.Text.Json converter for portable schedule storage.
  • Daylight-saving-time coverage for UK transitions.

Requirements

  • .NET 10 SDK or runtime.

Install

Add the package to your application when it is available from your configured NuGet feed:

dotnet add package Gurux.Scheduling.Net

Localized schedules

Construct GXDateTime with the culture that matches the source expression.

using System.Globalization;
using Gurux.Scheduling;

var usSchedule = new GXDateTime(
    "Monday/*/* 12:00:00 PM",
    CultureInfo.GetCultureInfo("en-US"));

var finnishSchedule = new GXDateTime(
    "maanantai/*/* 12.00.00",
    CultureInfo.GetCultureInfo("fi-FI"));

The weekday schedule format is:

weekday/month/year time

* means any value. For example, Mon/12/* 12:00:00 PM runs every Monday in December at noon.
Full and abbreviated weekday names are accepted without regard to letter case.

Find the next occurrence

Use a fixed current time when calculating schedule occurrences in application logic or tests.

var currentTime = new DateTime(2026, 6, 16, 11, 0, 0);
DateTime next = GXDateTime
    .GetNextScheduledDates(currentTime, usSchedule, 1)
    .Single();

// 2026-06-22 12:00:00

GetTimeUntilNextSchedule uses the system clock and returns the wait time until the next occurrence.

JSON serialization

GXDateTimeJsonConverter stores schedules as an invariant string. A localized expression is normalized during serialization, so it can be deserialized without its original culture.

GXDateTime is annotated with the converter, so no JsonSerializerOptions registration is required. The annotation uses the concrete converter type:

[JsonConverter(typeof(GXDateTimeJsonConverter))]
public class GXDateTime
using System.Text.Json;
using Gurux.Scheduling;

string json = JsonSerializer.Serialize(finnishSchedule);
// "Monday/*/* 12:00:00"

GXDateTime restored = JsonSerializer.Deserialize<GXDateTime>(json)!;

[JsonConverter(typeof(JsonConverter<GXDateTime>))] is not valid for this purpose: JsonConverter<GXDateTime> is an abstract base class and cannot be instantiated by the serializer. Registering GXDateTimeJsonConverter in JsonSerializerOptions remains possible when an application prefers global configuration, but is redundant for GXDateTime.

The JSON converter does not configure XML serialization.
For XML, persist the invariant ToFormatString(CultureInfo.InvariantCulture) value in a string element and reconstruct it with new GXDateTime(value, CultureInfo.InvariantCulture).

License

This project is licensed under the GNU General Public License v2.0 only.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • 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
1.0.2609.2201 91 9/22/2026