The time interval data type tinterval is a legacy from the original date/time types and is not as well supported as the more modern types. There are several operators for this type.
時間間隔データ型 tinterval は元々日付/時刻型から派生 した遺物であり、現代的な型としてはサポートされていません。この型用 の演算子が幾つかあります。
Table 4-5. Postgres 時間間隔演算子
| 演算子 | 説明 | 使用方法 |
|---|---|---|
| #< | 間隔がより小さい | |
| #<= | 間隔がより小さいか等しい | |
| #<> | 間隔が等しくない | |
| #= | 間隔が等しい | |
| #> | 間隔がより大きい | |
| #>= | 間隔がより大きいか等しい | |
| <#> | 時間間隔へ変換する | |
| << | 間隔がより小さい | |
| | | 間隔の開始点 | |
| ~= | 同一か | |
| <?> | 時間が間隔内にあるか |