Noda Time
Namespaces
Namespaces

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

Noda Time, a .NET port of Joda Time. Joda Time is the industry standard date and time handling library for Java. Noda Time is an idiomatic port to the .NET platform.
Namespaces
NamespaceDescription
NodaTime

The NodaTime namespace contains the core types for Noda Time, including the main public classes for time zone and calendar support which have implementations (and less frequently used types) in other namespaces. For formatting and parsing functionality, see the NodaTime.Text namespace.


NodaTime.Calendars

The NodaTime.Calendars namespace contains types related to calendars beyond the CalendarSystem type in the core NodaTime namespace.


NodaTime.Serialization.JsonNet

The NodaTime.Serialization.JsonNet namespace contains support code to enable JSON serialization for Noda Time types using Json.NET.

Code in this namespace is not currently included in Noda Time NuGet packages; it is still deemed "experimental". To use these serializers, please download and build the Noda Time source code from the project home page.


NodaTime.Testing

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.


NodaTime.Testing.TimeZones

Provides types to aid testing production code which uses time zones, to avoid hard-coding knowledge of "real" time zones into tests.

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


NodaTime.Text

The NodaTime.Text namespace contains types related to formatting and parsing date and time values to and from text. Each core Noda Time type has its own "pattern" class to create a more object-oriented (and efficient) approach to text handling than the one taken to the BCL. See the user guide for more information.


NodaTime.TimeZones

The NodaTime.TimeZones namespace contains types related to time zones beyond the core DateTimeZone class in the NodaTime namespace. Most users will have no need to refer to the types in this namespace.


NodaTime.TimeZones.Cldr

The NodaTime.TimeZones.Cldr namespace contains types related to time zone information provided by the Unicode CLDR (Common Locale Data Repository) project.


NodaTime.Utility

The NodaTime.Utility namespace contains helper classes which don't really fit anywhere else...