axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dimuthu Gamage <dimut...@gmail.com>
Subject Re: function is misnamed?
Date Thu, 09 Jul 2009 16:10:35 GMT
Hi,
Can you create a jira on this?. The idea is to track the change
specially a change in API :)

On Thu, Jul 9, 2009 at 8:43 PM, Patrick Cosmo<pcosmo@incognito.com> wrote:
> when decoding a date, in axutil_date_time.h there is a method for extracting
> year, month, etc, but not for "day".
>
> However, there is a method named: axutil_date_time_get_date( ... )
>
> If you look at the implementation of this in date_time.c, it's actually
> extracting the day:
>
> AXIS2_EXTERN int AXIS2_CALL
> axutil_date_time_get_date(
>     axutil_date_time_t *date_time,
>     const axutil_env_t *env)
> {
>     return (date_time->day);
> }
>
>
> I think this function should be named axutil_date_time_get_day
>
>
> thanks,
>
> Patrick Cosmo
>
> Incognito Software Inc.
> Senior Software Design Engineer
> T: +1(604)678-2855
> F: +1(604)688-4339
> E: pcosmo@incognito.com
> www.incognito.com
>
>



-- 
Thanks,
Dimuthu Gamage

http://www.dimuthu.org
http://www.wso2.org

Mime
View raw message