The methods of the NpgsqlInterval structure are listed below. For a complete list of NpgsqlInterval structure members, see the NpgsqlInterval Members topic.
![]() ![]() | Compares two NpgsqlInterval instances. |
![]() ![]() | Creates an NpgsqlInterval from a number of days. |
![]() ![]() | Creates an NpgsqlInterval from a number of hours. |
![]() ![]() | Creates an NpgsqlInterval from a number of microseconds. |
![]() ![]() | Creates an NpgsqlInterval from a number of milliseconds. |
![]() ![]() | Creates an NpgsqlInterval from a number of minutes. |
![]() ![]() | Creates an NpgsqlInterval from a number of months. |
![]() ![]() | Creates an NpgsqlInterval from a number of seconds. |
![]() ![]() | Creates an NpgsqlInterval from a number of ticks. |
![]() ![]() | Parses a String and returns a NpgsqlInterval instance. Designed to use the formats generally returned by PostgreSQL. |
![]() ![]() | Attempt to parse a String to produce an NpgsqlInterval. |
![]() | Adds another interval to this instance and returns the result. |
![]() | |
![]() | Overloaded. Compares this instance with another/ |
![]() | This absolute value of this instance. In the case of some, but not all, components being negative, the rules used for justification are used to determine if the instance is positive or negative. |
![]() | Overloaded. Returns true if another NpgsqlInterval is exactly the same as this instance. |
![]() | A hash code suitable for uses with hashing algorithms. |
![]() | |
![]() | Equivalent to PostgreSQL's justify_days function. |
![]() | Equivalent to PostgreSQL's justify_interval function. |
![]() | Equivalent to PostgreSQL's justify_months function. |
![]() | Returns an NpgsqlInterval whose value is the negated value of this instance. |
![]() | Subtracts another interval from this instance and returns the result. |
![]() | Create a String representation of the NpgsqlInterval instance. The format returned is of the form: [M mon[s]] [d day[s]] [HH:mm:ss[.f[f[f[f[f[f[f[f[f]]]]]]]]]] A zero NpgsqlInterval is represented as 00:00:00 |
![]() | Opposite to PostgreSQL's justify_days function. |
![]() | Opposite to PostgreSQL's justify_interval function. |
![]() | Opposite to PostgreSQL's justify_months function. |
NpgsqlInterval Class | NpgsqlTypes Namespace | Ticks | JustifyDays | JustifyMonths | Canonicalize