The toPlainTime() method returns a PlainTime object representing the time part of the ZonedDateTime.