add switch_time_exp_gmt_get for mishehu

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3923 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-01-06 22:57:31 +00:00
parent e84b6ee302
commit e8f16d9929
1 changed files with 9 additions and 0 deletions

View File

@ -1084,6 +1084,15 @@ typedef apr_time_exp_t switch_time_exp_t;
DoxyDefine(switch_time_t switch_time_now(void);) DoxyDefine(switch_time_t switch_time_now(void);)
#define switch_time_now apr_time_now #define switch_time_now apr_time_now
/**
* Convert time value from human readable format to a numeric apr_time_t that
* always represents GMT
* @param result the resulting imploded time
* @param input the input exploded time
*/
DoxyDefine(switch_status_t switch_time_exp_gmt_get(switch_time_t *result, switch_time_exp_t *input);)
#define switch_time_exp_gmt_get apr_time_exp_gmt_get
/** /**
* formats the exploded time according to the format specified * formats the exploded time according to the format specified
* @param s string to write to * @param s string to write to