| 1211 | } |
| 1212 | |
| 1213 | Status ProcessInterval() { |
| 1214 | RETURN_NOT_OK(f_parser_.CheckHasNext()); |
| 1215 | switch (f_parser_.Next()) { |
| 1216 | case 'D': |
| 1217 | return ProcessPrimitive(day_time_interval()); |
| 1218 | case 'M': |
| 1219 | return ProcessPrimitive(month_interval()); |
| 1220 | case 'n': |
| 1221 | return ProcessPrimitive(month_day_nano_interval()); |
| 1222 | } |
| 1223 | return f_parser_.Invalid(); |
| 1224 | } |
| 1225 | |
| 1226 | Status ProcessTime() { |
| 1227 | ARROW_ASSIGN_OR_RAISE(auto unit, f_parser_.ParseTimeUnit()); |
nothing calls this directly
no test coverage detected