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