public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/19649] New: java.util.Date.getTimezoneOffset returns negated output
@ 2005-01-27  0:38 walters at redhat dot com
  2005-01-27  0:39 ` [Bug java/19649] " walters at redhat dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: walters at redhat dot com @ 2005-01-27  0:38 UTC (permalink / raw)
  To: java-prs

Hi,

Here is a simple test:

public final class Test {
    public static void main(String[] args)  {
        System.out.println(new Date(5).getTimezoneOffset());
}
}

On gcj on my system, this returns -300.  On the JDK, it returns 300.  Attached
is a simple patch which shoudl correct the problem.

-- 
           Summary: java.util.Date.getTimezoneOffset returns negated output
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: walters at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19649


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-02-01 13:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-27  0:38 [Bug java/19649] New: java.util.Date.getTimezoneOffset returns negated output walters at redhat dot com
2005-01-27  0:39 ` [Bug java/19649] " walters at redhat dot com
2005-01-27  0:41 ` [Bug libgcj/19649] " pinskia at gcc dot gnu dot org
2005-01-27  0:50 ` pinskia at gcc dot gnu dot org
2005-01-28 17:35 ` marco at gnome dot org
2005-01-28 20:16 ` walters at redhat dot com
2005-01-28 21:22 ` mckinlay at redhat dot com
2005-01-29  0:30 ` mckinlay at redhat dot com
2005-01-29  0:37 ` mckinlay at redhat dot com
2005-01-29  0:44 ` cvs-commit at gcc dot gnu dot org
2005-01-29  0:45 ` mckinlay at redhat dot com
2005-02-01 13:21 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).