(self)
| 1343 | """ |
| 1344 | |
| 1345 | def to_string(self): |
| 1346 | unit = short_time_unit(self.type['unit_']) |
| 1347 | tz = StdString(self.type['timezone_']) |
| 1348 | tz = tz.string_literal() if tz.size != 0 else "no timezone" |
| 1349 | if not self.is_valid: |
| 1350 | return f"{self._format_type()} of null value [{unit}, {tz}]" |
| 1351 | value = self.val['value'] |
| 1352 | return f"{self._format_type()} of value {value}{unit} [{tz}]" |
| 1353 | |
| 1354 | |
| 1355 | class MonthIntervalScalarPrinter(ScalarPrinter): |
nothing calls this directly
no test coverage detected