Method
_could_be_tzname
(self, hour, tzname, tzoffset, token)
Source from the content-addressed store, hash-verified
| 1054 | (res.second, res.microsecond) = self._parsems(value_repr) |
| 1055 | |
| 1056 | def _could_be_tzname(self, hour, tzname, tzoffset, token): |
| 1057 | return (hour is not None and |
| 1058 | tzname is None and |
| 1059 | tzoffset is None and |
| 1060 | len(token) <= 5 and |
| 1061 | (all(x in string.ascii_uppercase for x in token) |
| 1062 | or token in self.info.UTCZONE)) |
| 1063 | |
| 1064 | def _ampm_valid(self, hour, ampm, fuzzy): |
| 1065 | """ |
Tested by
no test coverage detected