gcc/libjava/java/sql
Bryce McKinlay cbd7a79bc3 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
2004-07-15 23:14:45 +01:00
..
Array.java MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over. 2004-04-20 14:45:10 +00:00
BatchUpdateException.java Reformat JDBC classes and add new JDK 1.4 classes and methods. 2002-06-21 06:39:33 +01:00
Blob.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
CallableStatement.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
Clob.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
Connection.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
DataTruncation.java Reformat JDBC classes and add new JDK 1.4 classes and methods. 2002-06-21 06:39:33 +01:00
DatabaseMetaData.java MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over. 2004-04-20 14:45:10 +00:00
Date.java Date.java, [...]: New versions from Classpath. 2003-04-19 21:17:50 +00:00
Driver.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
DriverManager.java DriverManager.java: Cleaned up imports. 2004-04-23 07:57:47 +00:00
DriverPropertyInfo.java Reformat JDBC classes and add new JDK 1.4 classes and methods. 2002-06-21 06:39:33 +01:00
ParameterMetaData.java 2003-10-13 Michael Koch <konqueror@gmx.de> 2003-10-13 05:03:39 +00:00
PreparedStatement.java 2003-10-13 Michael Koch <konqueror@gmx.de> 2003-10-13 05:03:39 +00:00
Ref.java 2003-10-13 Michael Koch <konqueror@gmx.de> 2003-10-13 05:03:39 +00:00
ResultSet.java MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over. 2004-04-20 14:45:10 +00:00
ResultSetMetaData.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
SQLData.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
SQLException.java Reformat JDBC classes and add new JDK 1.4 classes and methods. 2002-06-21 06:39:33 +01:00
SQLInput.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
SQLOutput.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
SQLPermission.java Reformat JDBC classes and add new JDK 1.4 classes and methods. 2002-06-21 06:39:33 +01:00
SQLWarning.java Reformat JDBC classes and add new JDK 1.4 classes and methods. 2002-06-21 06:39:33 +01:00
Savepoint.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
Statement.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
Struct.java Array.java, [...]: Removed redundant modifiers. 2003-10-11 18:49:51 +00:00
Time.java Date.java, [...]: New versions from Classpath. 2003-04-19 21:17:50 +00:00
Timestamp.java re PR libgcj/16574 (java.sql.Timestamp#toString() does not deal with fractional seconds correctly) 2004-07-15 23:14:45 +01:00
Types.java Reformat JDBC classes and add new JDK 1.4 classes and methods. 2002-06-21 06:39:33 +01:00