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+e1037fa8802b3ff162e26559d763b73334940b70
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