checkTimeT static method

String checkTimeT(
  1. String time
)

Implementation

static String checkTimeT(String time) {
  if (!StringUtils.isEmpty(time) && time.contains("T")) {
    time = time.split(".")[0].replaceAll("T", " ");
  }
  return time;
}