Click or drag to resize

DateParse(ReadOnlySpanChar, IFormatProvider) Method

Parses a span of characters into a value.

Namespace: Austra.Library.Dates
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+77a1ed58155f905ef6d88f42ae024582c7e1b4c3
Syntax
C#
public static Date Parse(
	ReadOnlySpan<char> s,
	IFormatProvider? provider
)

Parameters

s  ReadOnlySpanChar
The span of characters to parse.
provider  IFormatProvider
An object that provides culture-specific formatting information about s.

Return Value

Date
The result of parsing s.

Implements

ISpanParsableTSelfParse(ReadOnlySpanChar, IFormatProvider)
Exceptions
ExceptionCondition
FormatExceptions is not in the correct format.
OverflowExceptions is not representable by TSelf.
See Also