Date-time handling functions
[Apache Core]


マクロ定義

#define AP_TIME_RECENT_THRESHOLD   15

関数

apr_status_t ap_explode_recent_localtime (apr_time_exp_t *tm, apr_time_t t)
apr_status_t ap_explode_recent_gmt (apr_time_exp_t *tm, apr_time_t t)
apr_status_t ap_recent_ctime (char *date_str, apr_time_t t)
apr_status_t ap_recent_rfc822_date (char *date_str, apr_time_t t)

関数

apr_status_t ap_explode_recent_gmt ( apr_time_exp_t tm,
apr_time_t  t 
)

convert a recent time to its human readable components in GMT timezone

引数:
tm the exploded time
t the time to explode: MUST be within the last AP_TIME_RECENT_THRESHOLD seconds
覚え書き:
This is a faster alternative to apr_time_exp_gmt that uses a cache of pre-exploded time structures. It is useful for things that need to explode the current time multiple times per second, like loggers.
戻り値:
APR_SUCCESS iff successful

apr_status_t ap_explode_recent_localtime ( apr_time_exp_t tm,
apr_time_t  t 
)

convert a recent time to its human readable components in local timezone

引数:
tm the exploded time
t the time to explode: MUST be within the last AP_TIME_RECENT_THRESHOLD seconds
覚え書き:
This is a faster alternative to apr_time_exp_lt that uses a cache of pre-exploded time structures. It is useful for things that need to explode the current time multiple times per second, like loggers.
戻り値:
APR_SUCCESS iff successful

apr_status_t ap_recent_ctime ( char *  date_str,
apr_time_t  t 
)

format a recent timestamp in the ctime() format.

引数:
date_str String to write to.
t the time to convert

apr_status_t ap_recent_rfc822_date ( char *  date_str,
apr_time_t  t 
)

format a recent timestamp in the RFC822 format

引数:
date_str String to write to (must have length >= APR_RFC822_DATE_LEN)
t the time to convert


Apacheに対してSun Jul 19 22:05:28 2009に生成されました。  doxygen 1.4.7