[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-dev
Subject:    [jira] Updated: (AXIS2C-1384) axutil_date_time_get_date is
From:       "S.Uthaiyashankar (JIRA)" <jira () apache ! org>
Date:       2009-09-08 2:46:59
Message-ID: 53698808.1252378019680.JavaMail.jira () brutus
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/AXIS2C-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

S.Uthaiyashankar updated AXIS2C-1384:
-------------------------------------

      Component/s: util
    Fix Version/s: Next Version

> axutil_date_time_get_date is misnamed, it should be axutil_date_time_get_day
> ----------------------------------------------------------------------------
> 
> Key: AXIS2C-1384
> URL: https://issues.apache.org/jira/browse/AXIS2C-1384
> Project: Axis2-C
> Issue Type: Bug
> Components: util
> Affects Versions: 1.6.0
> Environment: all
> Reporter: Patrick Cosmo
> Priority: Minor
> Fix For: Next Version
> 
> Attachments: axutil_date_time.h, date_time.c, date_time_test.c, rand.c
> 
> 
> 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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic