title: How to convert empty string to a LocalDate in java?
body: <p>I need to convert an empty string to a LocalDate object. I tried using </p>
  
  <pre><code>LocalDate.parse("");
  </code></pre>
  
  <p>But got an exception saying :</p>
  
  <pre><code>java.time.format.DateTimeParseException: Text '' could not be parsed at index 0
  </code></pre>
  
  <p>Can someone help me out.</p>