The version of Java included with gcc-4.1.1-51.fc5 has daylight time rules that will be obsolete in the United States on 11 March 2007. This can result in displayed times that are off by 1 hour. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23566 addresses this issue upstream, and patching to include their changes to libjava/classpath/java/util/TimeZone.java may be sufficient to reslove this. Other versions of Fedora (and probably Red Hat Linux too) are likely to have this same problem.
It is not that easy, see http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01735.html
Thanks for the comprehensive solution. Now that this has been implemented for RHEL 3 (bugzilla 227887) perhaps it can be done for Fedora as well.
This is fixed in current FC6 updates (as well as F7 GA), FC5 is no longer supported.