| 82 | constexpr char kMonthDayNano[] = "MONTH_DAY_NANO"; |
| 83 | |
| 84 | std::string GetFloatingPrecisionName(FloatingPointType::Precision precision) { |
| 85 | switch (precision) { |
| 86 | case FloatingPointType::HALF: |
| 87 | return "HALF"; |
| 88 | case FloatingPointType::SINGLE: |
| 89 | return "SINGLE"; |
| 90 | case FloatingPointType::DOUBLE: |
| 91 | return "DOUBLE"; |
| 92 | default: |
| 93 | break; |
| 94 | } |
| 95 | return "UNKNOWN"; |
| 96 | } |
| 97 | |
| 98 | std::string GetTimeUnitName(TimeUnit::type unit) { |
| 99 | switch (unit) { |