Java: extend LocalDate (LocalDateTime) class
<p>Is it possible to extend JDK 1.8 <code>LocalDate</code> class without wrapping it?</p>

<pre><code>public class UserLocalDate extends LocalDate implements UserType { 
    //Cannot inhertit from final java.time.LocalDate
}  
</code></pre>

<p>The class is <code>final</code> so it can't be extended directly. Is there a similar abstract class to extend from or some other way to get a class with just the same methods?</p>

<p>What I'm trying to do is to create a Hibernate custom <code>UserType</code> date class which will be a <code>LocalDate</code> inside runtime environment and will be stored into database as an integer generated using specific rules.</p>