Java Utililty Methods LocalDateTime to Instant

List of utility methods to do LocalDateTime to Instant

Description

The list of methods to do LocalDateTime to Instant are organized into topic(s).

Method

InstanttoInstant(final LocalDateTime dateTime)
Convert a given LocalDateTime to an Instant .
return dateTime.toInstant(ZoneOffset.of(ZoneOffset.UTC.toString()));