include/alp/tz.h File Reference


Detailed Description

Alp time API based on timezone.

Go to the source code of this file.
long alp_get_gmtoffset (const time_t *gmttime, const char *tzname)
 Gets the GMT offset time of specified time zone.
void alp_localtime_tz (const time_t *gmttime, const char *tzname, struct tm *result)
 brief Converts the simple time representation to a broken-down time representation related to the user's specified time zone.
G_BEGIN_DECLS time_t alp_mktime_tz (struct tm *tmp, const char *tzname)
 Converts a broken-down time structure to a simple time representation based on the user's specified time zone.


Function Documentation

long alp_get_gmtoffset const time_t *  gmttime,
const char *  tzname
 

Gets the GMT offset time of specified time zone.

Parameters:
[in] tzname time zone name
Returns:
none GMT offset time in seconds of the time zone

void alp_localtime_tz const time_t *  gmttime,
const char *  tzname,
struct tm *  result
 

brief Converts the simple time representation to a broken-down time representation related to the user's specified time zone.

Parameters:
[in] gmttime The simple time in GMT seconds
[in] tzname The time zone name
[in] broken-down The broken-down time based upon the specified time zone
Returns:
none

G_BEGIN_DECLS time_t alp_mktime_tz struct tm *  tmp,
const char *  tzname
 

Converts a broken-down time structure to a simple time representation based on the user's specified time zone.

Parameters:
[in] tmp The broken-down time structure
[in] tzname The time zone name
Returns:
The simple time, based upon the specified time zone


Generated on Wed Jul 30 07:06:40 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.