IPattern T  InterfaceNoda Time

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

Generic interface supporting parsing and formatting. Parsing always results in a ParseResult T  which can represent success or failure.

Namespace: NodaTime.Text
Assembly: NodaTime (in NodaTime.dll) Version: (

public interface IPattern<T>
Type Parameters

Type of value to parse or format.

Idiomatic text handling in Noda Time involves creating a pattern once and reusing it multiple times, rather than specifying the pattern text repeatedly. All patterns are immutable and thread-safe, and include the culture used for localization purposes.
Version Information

Available since: 1.0.0
Supported in the PCL? Yes
See Also