code: public static DateTime fromStringWithSeconds( String dateTimeString ) {
          DateTime dt = withSecondsformatter.parseDateTime(dateTimeString);
          return dt;
      }
docs: Get {@link DateTime} from date string of format: YYYY-MM-DD HH:MM:SS.
  
  @param dateTimeString the date string.
  @return the parsed datetime.