(self)
| 1360 | """ |
| 1361 | |
| 1362 | def to_string(self): |
| 1363 | unit = short_time_unit(self.type['unit_']) |
| 1364 | tz = StdString(self.type['timezone_']) |
| 1365 | tz = tz.string_literal() if tz.size != 0 else "no timezone" |
| 1366 | if not self.is_valid: |
| 1367 | return f"{self._format_type()} of null value [{unit}, {tz}]" |
| 1368 | value = self.val['value'] |
| 1369 | return f"{self._format_type()} of value {value}{unit} [{tz}]" |
| 1370 | |
| 1371 | |
| 1372 | class MonthIntervalScalarPrinter(ScalarPrinter): |
nothing calls this directly
no test coverage detected