posted 21 years ago
It is creating a variable named cal of type Calendar and then calling the constructor of the Calendar class using the "new" keyword to create an instance of Calendar that is looking at the PC that it is running on to find out what the default timezone for that PC is. If this is running on a server it would pick up the timezone for the server.
[ fixed small typo -ds ]
[ December 04, 2002: Message edited by: Dirk Schreckmann ]
"JavaRanch, where the deer and the Certified play" - David O'Meara