axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Cosmo <pco...@incognito.com>
Subject function is misnamed?
Date Thu, 09 Jul 2009 15:13:14 GMT
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<mailto:pcosmo@incognito.com>
www.incognito.com<http://www.incognito.com/>



Mime
View raw message