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.7.0+6baf2f2fa1d256420275372aea03344dd79bdd55
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