<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _zdt_to_nanos(self, zdt):
 """Extracts nanoseconds from a ZonedDateTime"""

        instant = zdt.toInstant()
        return instant.getNano() + instant.getEpochSecond() * 1000000000