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