| 1808 | class ARROW_EXPORT DayTimeIntervalType : public IntervalType { |
| 1809 | public: |
| 1810 | struct DayMilliseconds { |
| 1811 | int32_t days = 0; |
| 1812 | int32_t milliseconds = 0; |
| 1813 | constexpr DayMilliseconds() = default; |
| 1814 | constexpr DayMilliseconds(int32_t days, int32_t milliseconds) |
| 1815 | : days(days), milliseconds(milliseconds) {} |
| 1816 | bool operator==(DayMilliseconds other) const { |
| 1817 | return this->days == other.days && this->milliseconds == other.milliseconds; |
| 1818 | } |
| 1819 | bool operator!=(DayMilliseconds other) const { return !(*this == other); } |
| 1820 | bool operator<(DayMilliseconds other) const { |
| 1821 | return this->days < other.days || this->milliseconds < other.milliseconds; |
| 1822 | } |
| 1823 | }; |
| 1824 | using c_type = DayMilliseconds; |
| 1825 | using PhysicalType = DayTimeIntervalType; |
| 1826 |
no outgoing calls
no test coverage detected