Add Point.getInstant default method.
/**
* Creation/modification instant of the given point.
*
* @return creation/modification instant for the point
*/
public default Optional<Instant> getInstant() {
return getTime().map(t -> t.toOffsetDateTime().toInstant());
}
Add
Point.getInstantdefault method.