(self, x)
| 1615 | return int((x - self._TIME_FIELD.delta) * 1e7) |
| 1616 | |
| 1617 | def _time_to_int(self, x): |
| 1618 | return self._utc_to_mstime( |
| 1619 | datetime.strptime(x, self._TIME_FIELD.strf).timestamp() |
| 1620 | ) |
| 1621 | |
| 1622 | def _time_to_asn1(self, x): |
| 1623 | return ASN1_GENERALIZED_TIME(datetime.strptime(x, self._TIME_FIELD.strf)) |
no test coverage detected