public static LocalDateTime toDateTime(Timestamp time){
  return time.toLocalDateTime();
}

public static LocalDateTime toDateTime ( Timestamp time ) { return time . toLocalDateTime ( ) ; }
converte timestamp para local date time
