Logo Search packages:      
Sourcecode: libical version File versions

const char* icaltimezone_get_tzid ( icaltimezone *  zone  ) 

Returns the TZID of a timezone.

Definition at line 1165 of file icaltimezone.c.

References icaltimezone_load_builtin_timezone().

Referenced by icaltime_get_tzid(), and icaltimezone_get_builtin_timezone_from_tzid().

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

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

    return zone->tzid;
}


Generated by  Doxygen 1.6.0   Back to index