Noda Time
Show / Hide Table of Contents

Namespace 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.

Classes

AnnualDatePattern

Represents a pattern for parsing and formatting AnnualDate values.

CompositePatternBuilder<T>

A builder for composite patterns.

DurationPattern

Represents a pattern for parsing and formatting Duration values.

InstantPattern

Represents a pattern for parsing and formatting Instant values.

InvalidPatternException

Exception thrown to indicate that the format pattern provided for either formatting or parsing is invalid.

LocalDatePattern

Represents a pattern for parsing and formatting LocalDate values.

LocalDateTimePattern

Represents a pattern for parsing and formatting LocalDateTime values.

LocalTimePattern

Represents a pattern for parsing and formatting LocalTime values.

OffsetDatePattern

Represents a pattern for parsing and formatting OffsetDate values.

OffsetDateTimePattern

Represents a pattern for parsing and formatting OffsetDateTime values.

OffsetPattern

Represents a pattern for parsing and formatting Offset values.

OffsetTimePattern

Represents a pattern for parsing and formatting OffsetTime values.

ParseResult<T>

The result of a parse operation.

PeriodPattern

Represents a pattern for parsing and formatting Period values.

TypeConverterSettings

Ambient settings applied for the default type converters. There's no simple context to express this information in a more elegant way, although users can create their own type converters to apply if they wish to.

UnparsableValueException

Exception thrown to indicate that the specified value could not be parsed.

YearMonthPattern

Represents a pattern for parsing and formatting YearMonth values.

ZonedDateTimePattern

Represents a pattern for parsing and formatting ZonedDateTime values.

Interfaces

IPattern<T>

Generic interface supporting parsing and formatting. Parsing always results in a ParseResult<T> which can represent success or failure.
In this article
Back to top Generated by DocFX