diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-07-15 22:14:45 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-07-15 23:14:45 +0100 |
commit | cbd7a79bc312c93c7081209c2e65024d016f662e (patch) | |
tree | e8016dfc420b4b3ca5e5ace062e88d794c5d3c8a /gcc/fortran/parse.c | |
parent | e4f78bd4af1ac824139f05da29ef6c6c4366aa0b (diff) | |
download | gcc-cbd7a79bc312c93c7081209c2e65024d016f662e.zip gcc-cbd7a79bc312c93c7081209c2e65024d016f662e.tar.gz gcc-cbd7a79bc312c93c7081209c2e65024d016f662e.tar.bz2 |
re PR libgcj/16574 (java.sql.Timestamp#toString() does not deal with fractional seconds correctly)
2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/16574
* java/sql/Timestamp.java (dateFormat): Renamed from sdf.
(decimalFormat): New static variable.
(sbuf): Likewise.
(getTime): New. Override Date.getTime().
(toString): Synchronize. Use decimalFormat to format nanos value
correctly. Truncate extra zeros.
(before): Compare getNanos() only if getTime() is equal.
(after): Likewise.
From-SVN: r84784
Diffstat (limited to 'gcc/fortran/parse.c')
0 files changed, 0 insertions, 0 deletions