IClock
Provides a testable abstraction and alternative to DateTime.Now / DateTime.UtcNow
Install
dotnet add package IClock --version 1.1.0
Install-Package IClock -Version 1.1.0
<PackageReference Include="IClock" Version="1.1.0" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
NuGet marks this package as deprecated and points to Microsoft.Bcl.TimeProvider as an alternative.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.