Npgsql Api Docs

NpgsqlInterval  Operators and Type Conversions

The operators and type conversions of the NpgsqlInterval structure are listed below. For a complete list of NpgsqlInterval structure members, see the NpgsqlInterval Members topic.

Public Static (Shared) Operators and Type Conversions

Addition Operator Adds two NpgsqlInterval together.
Equality Operator Returns true if two NpgsqlInterval are exactly the same.
Greater Than Operator Compares two NpgsqlInterval instances to see if the first is greater than the second
Greater Than Or Equal Operator Compares two NpgsqlInterval instances to see if the first is greater than or equivalent the second
Inequality Operator Returns false if two NpgsqlInterval are exactly the same.
Less Than Operator Compares two NpgsqlInterval instances to see if the first is less than the second
Less Than Or Equal Operator Compares two NpgsqlInterval instances to see if the first is less than or equivalent to the second
Subtraction Operator Subtracts one NpgsqlInterval from another.
Unary Negation Operator Negates an NpgsqlInterval instance.
Unary Plus Operator Returns the instance.
Explicit NpgsqlInterval to TimeSpan Conversion Implicit cast of an NpgsqlInterval to a TimeSpan.
Implicit TimeSpan to NpgsqlInterval Conversion Implicit cast of a TimeSpan to an NpgsqlInterval

See Also

NpgsqlInterval Class | NpgsqlInterval Members | NpgsqlTypes Namespace | Ticks | JustifyDays | JustifyMonths | Canonicalize