From c-dev-return-23511-apmail-axis-c-dev-archive=axis.apache.org@axis.apache.org Tue Apr 7 16:39:02 2020 Return-Path: X-Original-To: apmail-axis-c-dev-archive@www.apache.org Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 32B3919453 for ; Tue, 7 Apr 2020 16:39:02 +0000 (UTC) Received: (qmail 79274 invoked by uid 500); 7 Apr 2020 16:39:01 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 79102 invoked by uid 500); 7 Apr 2020 16:39:01 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 79076 invoked by uid 99); 7 Apr 2020 16:39:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2020 16:39:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BEA8CE013F for ; Tue, 7 Apr 2020 16:39:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 3F6FE7802FF for ; Tue, 7 Apr 2020 16:39:00 +0000 (UTC) Date: Tue, 7 Apr 2020 16:39:00 +0000 (UTC) From: "Bill Blough (Jira)" To: c-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AXIS2C-1384) axutil_date_time_get_date is misnamed, it should be axutil_date_time_get_day MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2C-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bill Blough updated AXIS2C-1384: -------------------------------- Fix Version/s: (was: Current (Nightly)) 1.7.0 > 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: 1.7.0 > > 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 was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org