The primary reason for the classes being final is to enforce immutability.

Stephen


Lark, Tim wrote:

> Is there a reason (outside of potentially violating the "immutable" 
> convention) why we can't extend the immutable classes (i.e. DateTime, 
> DateMidnight, Interval, TimeOfDay, YearMonthDay)?
>  
> Tim
>
> *Tim Lark
> TotalView WebStation Developer
> **IEX** Corporation
> http://www.iex.com <http://www.iex.com/> **
>
> *2425 North Central Expressway
> Richardson, Texas 75080
> 1 972 301 1310 (o)
> 1 972 301 1321 (f)
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> *Improve Planning  *|*  **Enhance Performance**  *|*  **Streamline 
> Tasks**  *|*  **Integrate Data**
>
> */This e-mail message and any associated attachments may 
> contain/ /information that is/ /confidential, proprietary,/ /legally 
> privileged or otherwise protected by law from disclosure. If you are 
> not the intended recipient, please do not read the message./ /Reply to 
> the sender so that the sender/ /can arrange for/ /the proper delivery 
> and then/ /promptly/ /delete the message/ /(including any attachments 
> thereto)/ /from your computer. Any disclosure, copying, distribution, 
> use of/ /or reliance on the contents of this message/ /(or any 
> attachments thereto)/ /is strictly prohibited without 
> the prior/ /express written permission of the sender./
>
>  



_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to