to Instant
Converts this Temporal to an Instant that should be used when working with temporal values.
Local dates are treated as UTC (start of day). Local date-times are treated as in the system default timezone.
Supports LocalDate, LocalDateTime, OffsetDateTime, ZonedDateTime and Instant.
Return
corresponding Instant
Throws
on unsupported Temporal types