This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Java in General and the fly likes Customizing java Calendar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Customizing java Calendar" Watch "Customizing java Calendar" New topic

Customizing java Calendar

kelly goedert

Joined: May 14, 2003
Posts: 26

I have to migrate do java some c code of an old application. In this application a different calendar is used and its starting date is 01/01/1998 instead of 01/01/1970. Is it possible to extend GregorianCalendar to have 01/01/1998 as the starting date?


Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Why does the start date matter? What happened when you asked this old calendar for a date before its epoch?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Customizing java Calendar
It's not a secret anymore!