This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Why is Calendar an abstract class ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Why is Calendar an abstract class ?" Watch "Why is Calendar an abstract class ?" New topic
Author

Why is Calendar an abstract class ?

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Why is calendar an abstract class ? Any particular reason ??
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Because while there are very similar aspects between them, not every one in the world uses the same calendar system.


GenRocket - Experts at Building Test Data
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

2012, yo.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

David Newton wrote:2012, yo.

:rolling:
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

jose chiramal wrote:Why is calendar an abstract class ? Any particular reason ??


Because a calendar is an abstract concept from the real world! However, a gregorian calendar is a concrete concept.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Why is Calendar an abstract class ?