[
http://jira.codehaus.org/browse/JIBX-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski closed JIBX-131.
--------------------------------
> serializeTimestamp incorrectly formats fractional seconds
> ---------------------------------------------------------
>
> Key: JIBX-131
> URL: http://jira.codehaus.org/browse/JIBX-131
> Project: JiBX
> Issue Type: Bug
> Components: core
> Environment: Windows 2000 Professional, IBM Rational Software
> Development Platform v. 6.0.1
> Reporter: Curt Carlson
> Assignee: Dennis Sosnoski
> Fix For: JiBX 1.1.2
>
> Attachments: JiBXTest.java
>
>
> org.jibx.runtime.Utility.serializeTimestamp formats seconds with fractions
> as: ss.fff.fffffZ -- should be: ss.ffffffZ
> Java code sample:
> -------------------------------
> Timestamp ts = Timestamp.valueOf("2006-09-07 15:37:10.123456");
> System.out.println("value of timestamp: " + ts.toString());
> System.out.println("jibx serialized: " +
> org.jibx.runtime.Utility.serializeTimestamp(ts));
> Output to console:
> ----------------------------
> [9/7/06 16:58:24:477 CDT] 00000035 SystemOut O value of timestamp:
> 2006-09-07 15:37:10.123456
> [9/7/06 16:58:24:477 CDT] 00000035 SystemOut O jibx serialized:
> 2006-09-07T20:37:10.123.12345Z
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs