Noda Time
CreateWithInvariantCulture Method (patternText)
NamespacesNodaTime.TextLocalDatePatternCreateWithInvariantCulture(String)

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

Creates a pattern for the given pattern text in the invariant culture.
Declaration Syntax
C#Visual BasicVisual C++
public static LocalDatePattern CreateWithInvariantCulture(
	string patternText
)
Public Shared Function CreateWithInvariantCulture ( _
	patternText As String _
) As LocalDatePattern
public:
static LocalDatePattern^ CreateWithInvariantCulture(
	String^ patternText
)
Parameters
patternText (String)
Pattern text to create the pattern for
Return Value
A pattern for parsing and formatting local dates.
Remarks
See the user guide for the available pattern text options. Note that the current culture is captured at the time this method is called - it is not captured at the point of parsing or formatting values.
Exceptions
ExceptionCondition
InvalidPatternExceptionThe pattern text was invalid.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)