toInstant

toInstant converts the supplied variables into an instant.

Syntax

Parameters

ParameterTypeDescription
dateLocalDate

The local date.

timeLocalTime

The local time.

timeZoneZoneId

The time zone.

dateTimeZonedDateTime

The zoned date-time to convert.

Returns

An Instant.

Examples