Parses a String and returns a NpgsqlInterval instance. Designed to use the formats generally returned by PostgreSQL.
An NpgsqlInterval represented by the argument.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | The string was null. |
| OverflowException | A value obtained from parsing the string exceeded the values allowed for the relevant component. |
| FormatException | The string was not in a format that could be parsed to produce an NpgsqlInterval. |
NpgsqlInterval Class | NpgsqlTypes Namespace