DateParse(String, IFormatProvider) Method |
Parses a string into a value.
Namespace: Austra.Library.DatesAssembly: Austra.Library (in Austra.Library.dll) Version: 2.7.0+6baf2f2fa1d256420275372aea03344dd79bdd55
Syntaxpublic static Date Parse(
string s,
IFormatProvider? provider
)
Parameters
- s String
- The string to parse.
- provider IFormatProvider
- An object that provides culture-specific formatting information about s.
Return Value
DateThe result of parsing
s.
Implements
IParsableTSelfParse(String, IFormatProvider)
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | s is . |
| FormatException | s is not in the correct format. |
| OverflowException | s is not representable by TSelf. |
See Also