wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: http://aspose.com/file-tools
subject: Customizing java Calendar
Similar Threads
Output a Calendar with timezone, in W3C datetime format?
java.util.Calendar, setTime and DST
getDate() returning odd value
Dynamic query issue....
Dynamic query issue....