Noda Time
Create Method (patternText, cultureInfo, templateValue)
NamespacesNodaTime.TextLocalDateTimePatternCreate(String, CultureInfo, LocalDateTime)

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

Creates a pattern for the given pattern text, culture, and template value.
Declaration Syntax
C#Visual BasicVisual C++
public static LocalDateTimePattern Create(
	string patternText,
	CultureInfo cultureInfo,
	LocalDateTime templateValue
)
Public Shared Function Create ( _
	patternText As String, _
	cultureInfo As CultureInfo, _
	templateValue As LocalDateTime _
) As LocalDateTimePattern
public:
static LocalDateTimePattern^ Create(
	String^ patternText, 
	CultureInfo^ cultureInfo, 
	LocalDateTime templateValue
)
Parameters
patternText (String)
Pattern text to create the pattern for
cultureInfo (CultureInfo)
The culture to use in the pattern
templateValue (LocalDateTime)
Template value to use for unspecified fields
Return Value
A pattern for parsing and formatting local date/times.
Remarks
See the user guide for the available pattern text options.
Exceptions
ExceptionCondition
InvalidPatternExceptionThe pattern text was invalid.

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