aspose file tools*
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Customizing java Calendar" Watch "Customizing java Calendar" New topic
Author

Customizing java Calendar

kelly goedert
Greenhorn

Joined: May 14, 2003
Posts: 26
Hi,

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?

Thanks

Kelly
Paul Sturrock
Bartender

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
 
wood burning stoves
 
subject: Customizing java Calendar