This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread 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


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
 
GeeCON Prague 2014
 
subject: Why is Calendar an abstract class ?