Represents the PostgreSQL interval datatype. For most uses just casting to and from TimeSpan will work correctly � in particular, the results of subtracting one DateTime or the PostgreSQL date, time and timestamp types from another should be the same whether you do so in .NET or PostgreSQL � but if the handling of days and months in PostgreSQL is important to your application then you should use this class instead of TimeSpan. If you don't know whether these differences are important to your application, they probably arent! Just use TimeSpan and do not use this class directly ? To avoid forcing unnecessary provider-specific concerns on users who need not be concerned with them a call to GetValue on a field containing an NpgsqlInterval value will return a TimeSpan rather than an NpgsqlInterval. If you need the extra functionality of NpgsqlInterval then use GetInterval.
For a list of all members of this type, see NpgsqlInterval Members.
System.Object
���System.ValueType
������NpgsqlTypes.NpgsqlInterval
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Namespace: NpgsqlTypes
Assembly: Npgsql (in )
NpgsqlInterval Members | NpgsqlTypes Namespace | Ticks | JustifyDays | JustifyMonths | Canonicalize