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