toZonedDateTime
toZonedDateTime converts the supplied variables into a ZonedDateTime.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| instant | Instant | The Instant to convert. |
| date | LocalDate | The local date. |
| time | LocalTime | The local time. |
| timeZone | ZoneId | The time zone. |
Returns
A ZonedDateTime.