The fields of the NpgsqlInterval structure are listed below. For a complete list of NpgsqlInterval structure members, see the NpgsqlInterval Members topic.
![]() ![]() | Represents the number of days assumed in one month if month justification or unjustifcation is performed. This is set to 30 for consistency with PostgreSQL. Note that this is means that month adjustments cause a year to be taken as 30 × 12 = 360 rather than 356/366 days. |
![]() ![]() | Represents the number of hours in one day (assuming no daylight savings adjustments). This field is constant. |
![]() ![]() | Represents the maximum NpgsqlInterval. This field is read-only. |
![]() ![]() | Represents the minimum NpgsqlInterval. This field is read-only. |
![]() ![]() | Represents the number of months in a year. This field is constant. |
![]() ![]() | Represents the number of ticks (100ns periods) in one day. This field is constant. |
![]() ![]() | Represents the number of ticks (100ns periods) in one hour. This field is constant. |
![]() ![]() | Represents the number of ticks (100ns periods) in one microsecond. This field is constant. |
![]() ![]() | Represents the number of ticks (100ns periods) in one millisecond. This field is constant. |
![]() ![]() | Represents the number of ticks (100ns periods) in one minute. This field is constant. |
![]() ![]() | Represents the number of ticks (100ns periods) in one day, assuming 30 days per month. |
![]() ![]() | Represents the number of ticks (100ns periods) in one second. This field is constant. |
![]() ![]() | Represents the zero NpgsqlInterval. This field is read-only. |
NpgsqlInterval Class | NpgsqlTypes Namespace | Ticks | JustifyDays | JustifyMonths | Canonicalize