ChronoZonedDateTimeImpl.ofBest

Obtains an instance from a local date-time using the preferred offset if possible.

@param localDateTime the local date-time, not null @param zone the zone identifier, not null @param preferredOffset the zone offset, null if no preference @return the zoned date-time, not null

class ChronoZonedDateTimeImpl(D = ChronoLocalDate)
static
ofBest
(
R
)

Meta