title: The import java.text.SimpleDateFormat cannot be resolved
body: <p>I use Java 15 for my example.
  I used Eclipse IDE for Java Developers - 2020-12.</p>
  <p>I got an error shown below when I define SimpleDateFormat to handle with formating a date object.</p>
  <pre><code>import java.text.SimpleDateFormat; // error -&gt; The import java.text.SimpleDateFormat cannot be resolved
  </code></pre>
  <p>How can I fix my issue?</p>