[This is preliminary documentation and is subject to change.]
Creates a pattern for the given pattern text, culture, and template value.

C# | Visual Basic | Visual C++ |
public static LocalDatePattern Create( string patternText, CultureInfo cultureInfo, LocalDate templateValue )
Public Shared Function Create ( _ patternText As String, _ cultureInfo As CultureInfo, _ templateValue As LocalDate _ ) As LocalDatePattern
public: static LocalDatePattern^ Create( String^ patternText, CultureInfo^ cultureInfo, LocalDate templateValue )

- patternText (String)
- Pattern text to create the pattern for
- cultureInfo (CultureInfo)
- The culture to use in the pattern
- templateValue (LocalDate)
- Template value to use for unspecified fields

A pattern for parsing and formatting local dates.

See the user guide for the available pattern text options.

Exception | Condition |
---|---|
InvalidPatternException | The pattern text was invalid. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)