TimeServices is a project mainly written in C#, based on the BSD-2-Clause license.
Small .NET library to switch current time providers
TimeServices provides a way to access the current time but it makes it possible to switch implementation. It has been created with Dependency Injection in mind, so you can use it with you favorite container or use poor mans dependency injection. The library provides a basic interface, IClock, which provides a few ways to get the current time. It also provides a few basic implementations:
I've also included some experimental/useless wrapped implementations, which probably never will/should be used: