Java Utililty Methods Instant to Date

List of utility methods to do Instant to Date

Description

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

Method

DatetoDate(Instant instant)
to Date
return new Date(instant.toEpochMilli());
DatetoDate(Instant moment)
to Date
if (moment == null) {
    return null;
Date date = Date.from(moment);
return date;