Noda Time
NodaTime.Testing Namespace
NamespacesNodaTime.Testing

[This is preliminary documentation and is subject to change.]

The NodaTime.Testing namespace contains types designed to help write tests against code which uses Noda Time. "Child" namespaces are organized to reflect the same structure as the main project.

This code is not included as part of the main NuGet package; it's in a separate NodaTime.Testing package.

Declaration Syntax
C#Visual BasicVisual C++
namespace NodaTime.Testing
Namespace NodaTime.Testing
namespace NodaTime.Testing
Types
All TypesClasses
IconTypeDescription
FakeClock
Clock which can be constructed with an initial instant, and then advanced programmatically (and optionally, automatically advanced on each read). This class is designed to be used when testing classes which take an IClock as a dependency.