nt is
 used. For instance, if the constraint is on a <a href="https://docs.oracle.com/javase/8/docs/api/java/time/Year.html?is-external=true" title="class or interface in java.time"><code>Year</code></a>, present would mean the whole
 current year.
 <p>
 Supported types are:
 <ul>
     <li><code>java.util.Date</code></li>
     <li><code>java.util.Calendar</code></li>
     <li><code>java.time.Instant</code></li>
     <li><code>java.time.LocalDate</code></li>
     <li><code>java.time.LocalDateTime</code></li>