diff options
author | nadiramra | 2010-06-03 22:10:38 +0000 |
---|---|---|
committer | nadiramra | 2010-06-03 22:10:38 +0000 |
commit | 0c9712eee68c1ba673f5041fbab529f3b9f2e277 (patch) | |
tree | e1791bbe6b3cd9cdafc6d8ea833d611430543f0d /util/src/date_time.c | |
parent | 914851ec152f8a6293a0e35ebf28505eabae1ef6 (diff) | |
download | axis2c-0c9712eee68c1ba673f5041fbab529f3b9f2e277.tar.gz axis2c-0c9712eee68c1ba673f5041fbab529f3b9f2e277.tar.bz2 |
AXIS2C-1384 axutil_date_time_get_date() should be axutil_date_time_get_day()
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@951181 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'util/src/date_time.c')
-rw-r--r-- | util/src/date_time.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/src/date_time.c b/util/src/date_time.c index ad15774..55f26d5 100644 --- a/util/src/date_time.c +++ b/util/src/date_time.c @@ -731,6 +731,7 @@ axutil_date_time_get_month( return (date_time->mon + 1); } +/* Deprecated...should have been get_day, remove in 1.8 */ AXIS2_EXTERN int AXIS2_CALL axutil_date_time_get_date( axutil_date_time_t *date_time, @@ -738,6 +739,13 @@ axutil_date_time_get_date( { return (date_time->day); } +AXIS2_EXTERN int AXIS2_CALL +axutil_date_time_get_day( + axutil_date_time_t *date_time, + const axutil_env_t *env) +{ + return (date_time->day); +} AXIS2_EXTERN int AXIS2_CALL axutil_date_time_get_hour( |