Skip to content

Support .NET 8 TimeProvider #332

@RomanKreisel

Description

@RomanKreisel

.NET 8 introduced the TimeProvider which finally made times in unit tests mockable, as well as rollout environments for automatic testing on different dates/times.

Unfortunately, FluentScheduler doesn't support TimeProvider, so if it's part of the architecture - you cannot get any benefit of this change yet.

Since FluentScheduler - for sure - shouldn't lose backward-compatibility with earlier versions of .NET, for sure it makes sense to use Microsoft.Bcl.TimeProvider, which supports .NET Standard 2 as well .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions