You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rob Decker (JIRA)" <ji...@apache.org> on 2008/01/03 22:37:33 UTC
[jira] Created: (AXIS2-3423) ConverterUtil.convertToDateTime is
adding portion of fractions of a second to time as milliseconds during
conversion
ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
--------------------------------------------------------------------------------------------------------------------
Key: AXIS2-3423
URL: https://issues.apache.org/jira/browse/AXIS2-3423
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: databinding
Affects Versions: 1.4, nightly
Environment: Java 1.5
Reporter: Rob Decker
In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
if (milliSecondPartLength != 3){
// milisecond part represenst the fraction of the second so we have to
// find the fraction and multiply it by 1000. So if milisecond part
// has three digits nothing required
miliSecond = miliSecond * 1000;
for (int i = 0; i < milliSecondPartLength; i++) {
miliSecond = miliSecond / 10;
}
}
calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
The loop should be:
double ms = milliSecond * 1000;
for (int =0; i < milliSecondPartLength; i++) {
ms = ms /10;
}
miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3423) ConverterUtil.convertToDateTime is
adding portion of fractions of a second to time as milliseconds during
conversion
Posted by "Matt Conroy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Conroy updated AXIS2-3423:
-------------------------------
Comment: was deleted
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3423) ConverterUtil.convertToDateTime is
adding portion of fractions of a second to time as milliseconds during
conversion
Posted by "Matt Conroy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Conroy updated AXIS2-3423:
-------------------------------
Attachment: ConverterUtil.java.diff
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
> Attachments: ConverterUtil.java, ConverterUtil.java.diff
>
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3423) ConverterUtil.convertToDateTime is
adding portion of fractions of a second to time as milliseconds during
conversion
Posted by "Matt Conroy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Conroy updated AXIS2-3423:
-------------------------------
Attachment: (was: ConverterUtil.java.diff)
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3423) ConverterUtil.convertToDateTime is
adding portion of fractions of a second to time as milliseconds during
conversion
Posted by "Matt Conroy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Conroy updated AXIS2-3423:
-------------------------------
Attachment: ConverterUtil.java
This ConverterUtil has fixes for the bug in question.
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
> Attachments: ConverterUtil.java
>
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3423) ConverterUtil.convertToDateTime is
adding portion of fractions of a second to time as milliseconds during
conversion
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555801#action_12555801 ]
Amila Chinthaka Suriarachchi commented on AXIS2-3423:
-----------------------------------------------------
lets say we have some thing like this
09:08:45.2347
this means 0.2347 seconds
which is equivalent to 234 ms
what it does is first add first add three 0's (by * 1000) and
then move the decimal point equivalent to the length of the original string.
this gives the 234.7 and the answer is 234 ms
but here it does not round off the last digit. we can do it by using a float value and
using the Math.random to round off it.
can you give a sample value for the problem you are talking about?
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Issue Comment Edited: (AXIS2-3423)
ConverterUtil.convertToDateTime is adding portion of fractions of a second
to time as milliseconds during conversion
Posted by "Matt Conroy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563730#action_12563730 ]
dcshock edited comment on AXIS2-3423 at 1/29/08 4:05 PM:
-------------------------------------------------------------
I have attached a ConverterUtil class and patch file based on the 1.3 release that fixes this bug. I noticed the same behavior when utilizing a .Net client with one of my web services.
was (Author: dcshock):
I have attached a ConverterUtil class that fixes this bug. I noticed the same behavior when utilizing a .Net client with one of my web services.
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
> Attachments: ConverterUtil.java, ConverterUtil.java.diff
>
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3423) ConverterUtil.convertToDateTime is
adding portion of fractions of a second to time as milliseconds during
conversion
Posted by "Matt Conroy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Conroy updated AXIS2-3423:
-------------------------------
Attachment: (was: ConverterUtil.java)
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3423) ConverterUtil.convertToDateTime is
adding portion of fractions of a second to time as milliseconds during
conversion
Posted by "Rob Decker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555974#action_12555974 ]
Rob Decker commented on AXIS2-3423:
-----------------------------------
I get an xml dateTime string like this: 2008-01-03T20:08:59.686521Z in an org.apache.axis2.rpc.receivers.RPCMessageReceiver service call. I have a request POJO that gets the dateTime as a java.util.Date which ends up like this: 2008-01-03 15:20:25.521 (the toString method of Date is converting it to local time GMT-5:00). I then pass it back in the response POJO and the conversion gives me this:
2008-01-03T20:20:25.521Z
I'm not doing anything with the date, just reading it in and passing it back out. Somewhere an extra 10 minutes or so was added. The exact amount added depends on the time input.
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Issue Comment Edited: (AXIS2-3423)
ConverterUtil.convertToDateTime is adding portion of fractions of a second
to time as milliseconds during conversion
Posted by "Matt Conroy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563730#action_12563730 ]
dcshock edited comment on AXIS2-3423 at 1/29/08 3:29 PM:
-------------------------------------------------------------
I have attached a ConverterUtil class that fixes this bug. I noticed the same behavior when utilizing a .Net client with one of my web services.
was (Author: dcshock):
I have attached a ConverterUtil class that fixes this bug. I noticed the same behavior when utilizing a .Net client with one of my we services.
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
> Attachments: ConverterUtil.java
>
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Issue Comment Edited: (AXIS2-3423)
ConverterUtil.convertToDateTime is adding portion of fractions of a second
to time as milliseconds during conversion
Posted by "Matt Conroy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563730#action_12563730 ]
dcshock edited comment on AXIS2-3423 at 1/29/08 3:27 PM:
-------------------------------------------------------------
I have attached a ConverterUtil class that fixes this bug. I noticed the same behavior when utilizing a .Net client with one of my we services.
was (Author: dcshock):
This ConverterUtil has fixes for the bug in question.
> ConverterUtil.convertToDateTime is adding portion of fractions of a second to time as milliseconds during conversion
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3423
> URL: https://issues.apache.org/jira/browse/AXIS2-3423
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: databinding
> Affects Versions: 1.4, nightly
> Environment: Java 1.5
> Reporter: Rob Decker
> Attachments: ConverterUtil.java
>
>
> In org.apache.axis2.databinding.utils.ConverterUtil method convertToDateTime lines 946 to 955 of the 20071231 nitely build is trying to round the fractions of a millisecond but is instead parsing out millionths of a second, stripping the thousands and adding the left over millionths of a second to time:
> if (milliSecondPartLength != 3){
> // milisecond part represenst the fraction of the second so we have to
> // find the fraction and multiply it by 1000. So if milisecond part
> // has three digits nothing required
> miliSecond = miliSecond * 1000;
> for (int i = 0; i < milliSecondPartLength; i++) {
> miliSecond = miliSecond / 10;
> }
> }
> calendar.set(Calendar.MILLISECOND, miliSecond); // <-- this adds millionths of a second as milliseconds
> The loop should be:
> double ms = milliSecond * 1000;
> for (int =0; i < milliSecondPartLength; i++) {
> ms = ms /10;
> }
> miliSecond = (ms%1)*1000;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org