[This is preliminary documentation and is subject to change.]
Parses the given text value according to the rules of this pattern.
| C# | Visual Basic | Visual C++ |
public ParseResult<OffsetDateTime> Parse( string text )
Public Function Parse ( _ text As String _ ) As ParseResult(Of OffsetDateTime)
public: virtual ParseResult<OffsetDateTime>^ Parse( String^ text ) sealed
- text (String)
- The text value to parse.
The result of parsing, which may be successful or unsuccessful.
This method never throws an exception (barring a bug in Noda Time itself). Even errors such as
the argument being null are wrapped in a parse result.
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)