Noda Time
NodaTime.Text Namespace
NamespacesNodaTime.Text

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

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.

Declaration Syntax
C#Visual BasicVisual C++
namespace NodaTime.Text
Namespace NodaTime.Text
namespace NodaTime.Text
Types
All TypesClassesInterfaces
IconTypeDescription
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.

IPattern<(Of <(<'T>)>)>
Generic interface supporting parsing and formatting. Parsing always results in a ParseResult<(Of <(<'T>)>)> which can represent success or failure.

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.

OffsetDateTimePattern
Represents a pattern for parsing and formatting OffsetDateTime values.

OffsetPattern
Represents a pattern for parsing and formatting Offset values.

ParseResult<(Of <(<'T>)>)>
The result of a parse operation.

PeriodPattern
Represents a pattern for parsing and formatting Period values.

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

ZonedDateTimePattern
Represents a pattern for parsing and formatting ZonedDateTime values.