diff options
author | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-12 16:50:50 +0000 |
---|---|---|
committer | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2001-04-12 16:50:50 +0000 |
commit | 15ea1923d77715338fc5e8b86b3238aba3336335 (patch) | |
tree | a6436d7d5e96a4cafda3d16869f5a0c30bf7c877 /include | |
parent | 6aac9a9d60f96fdd087580ea1d79b39af2b85670 (diff) | |
download | libapr-15ea1923d77715338fc5e8b86b3238aba3336335.tar.gz |
Some adjustments to the time code that gets us working better with timezones.
Also change the beos sleep to use snooze instead of select.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61515 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/apr_time.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/apr_time.h b/include/apr_time.h index 575e30628..328a1bf29 100644 --- a/include/apr_time.h +++ b/include/apr_time.h @@ -135,6 +135,19 @@ APR_DECLARE(apr_status_t) apr_ansi_time_to_apr_time(apr_time_t *result, time_t input); /** + * convert a time to its human readable components using an offset + * from GMT + * @param result the exploded time + * @param input the time to explode + * @param offs the number of seconds offset to apply + * @param zone the zone description + * @deffunc apr_status_t apr_explode_time(apr_exploded_time_t *result, apr_time_t input, apr_int32_t offs) + */ +APR_DECLARE(apr_status_t) apr_explode_time(apr_exploded_time_t *result, + apr_time_t input, + apr_int32_t offs); + +/** * convert a time to its human readable components in GMT timezone * @param result the exploded time * @param input the time to explode |