Logo Search packages:      
Sourcecode: libical version File versions

const char* icaltimezone_get_tznames ( icaltimezone *  zone  ) 

Returns the TZNAME properties used in the latest STANDARD and DAYLIGHT components. If they are the same it will return just one, e.g. "LMT". If they are different it will format them like "EST/EDT". Note that this may also return NULL.

Definition at line 1192 of file icaltimezone.c.

References icaltimezone_load_builtin_timezone().

{
    /* If this is a floating time, without a timezone, return NULL. */
    if (!zone)
      return NULL;

    if (!zone->component)
      icaltimezone_load_builtin_timezone (zone);

    return zone->tznames;
}


Generated by  Doxygen 1.6.0   Back to index