This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
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
 
jQuery in Action, 2nd edition
 
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....