axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <>
Subject [jira] Commented: (AXIS2C-279) axis2_date_time should support fractional seconds
Date Thu, 14 Sep 2006 09:59:22 GMT
    [ ] 
Samisa Abeysinghe commented on AXIS2C-279:

Can we use ftime for this? 
It is a POSIX standard function and is not in the list of 'not thread-safe' functions.
Moreover there is a windows equivalant _ftime.

Problem with gettimeofday() is that we do not have an equivalant on Windows.

> axis2_date_time should support fractional seconds
> -------------------------------------------------
>                 Key: AXIS2C-279
>                 URL:
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>            Priority: Minor
> The XML schema date time datatype supports fractional seconds.  The security specs suggest
support for milliseconds.  I would suggest the interface support microseconds, which will
ensure we can support milliseconds with no rounding problems. To do this, 
> - add a get_microseconds method
> - allow serialization to specify the seconds precision (desired number of digits after
the decimal point -- 0, 1, 2, 3).
> - make sure parsing handles fractional seconds
> - the implementation can use gettimeofday() if available, which is a POSIX standard function

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message