Npgsql Api Docs |

# NpgsqlInterval Fields

The fields of the NpgsqlInterval structure are listed below. For a complete list of NpgsqlInterval structure members, see the NpgsqlInterval Members topic.

#### Public Static (Shared) Fields

DaysPerMonth | 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.
HoursPerDay | Represents the number of hours in one day (assuming no daylight savings adjustments). This field is constant.
MaxValue | Represents the maximum NpgsqlInterval. This field is read-only.
MinValue | Represents the minimum NpgsqlInterval. This field is read-only.
MonthsPerYear | Represents the number of months in a year. This field is constant.
TicksPerDay | Represents the number of ticks (100ns periods) in one day. This field is constant.
TicksPerHour | Represents the number of ticks (100ns periods) in one hour. This field is constant.
TicksPerMicrosecond | Represents the number of ticks (100ns periods) in one microsecond. This field is constant.
TicksPerMillsecond | Represents the number of ticks (100ns periods) in one millisecond. This field is constant.
TicksPerMinute | Represents the number of ticks (100ns periods) in one minute. This field is constant.
TicksPerMonth | Represents the number of ticks (100ns periods) in one day, assuming 30 days per month.
TicksPerSecond | Represents the number of ticks (100ns periods) in one second. This field is constant.
Zero | Represents the zero NpgsqlInterval. This field is read-only.

#### See Also

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