You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Damitha Kumarage (JIRA)" <ji...@apache.org> on 2009/02/19 11:26:02 UTC

[jira] Created: (AXIS2C-1348) Redundancy in Date/Time functions

Redundancy in Date/Time functions
---------------------------------

                 Key: AXIS2C-1348
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1348
             Project: Axis2-C
          Issue Type: Bug
            Reporter: Damitha Kumarage


In axis2 time handling functions there are lot of unneccessary redundancies which in my view complicate the life of developer unneccessarily. For example following five functions
axutil_date_time_deserialize_date()
axutil_date_time_deserialize_time()
axutil_date_time_deserialize_date_time()
axutil_date_time_deserialize_time_with_time_zone()
axutil_date_time_deserialize_date_time_with_time_zone()

could be reduced into one function called axutil_date_time_deserialize_date_time(). Within the function the date time string should be analized to see whether it is date time, date, time, date/time with time zone etc etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2C-1348) Redundancy in Date/Time functions

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar updated AXIS2C-1348:
-------------------------------------

    Component/s: util

> Redundancy in Date/Time functions
> ---------------------------------
>
>                 Key: AXIS2C-1348
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1348
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>            Reporter: Damitha Kumarage
>
> In axis2 time handling functions there are lot of unneccessary redundancies which in my view complicate the life of developer unneccessarily. For example following five functions
> axutil_date_time_deserialize_date()
> axutil_date_time_deserialize_time()
> axutil_date_time_deserialize_date_time()
> axutil_date_time_deserialize_time_with_time_zone()
> axutil_date_time_deserialize_date_time_with_time_zone()
> could be reduced into one function called axutil_date_time_deserialize_date_time(). Within the function the date time string should be analized to see whether it is date time, date, time, date/time with time zone etc etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.