Logo Search packages:      
Sourcecode: libical version File versions  Download package

const char* icaltimezone_get_location ( icaltimezone *  zone  ) 

Returns the city name of a timezone.

Definition at line 1180 of file icaltimezone.c.

Referenced by icaltimezone_get_builtin_timezone().

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

    /* Note that for builtin timezones this comes from zones.tab so we don't
       need to check the timezone is loaded here. */
    return zone->location;
}


Generated by  Doxygen 1.6.0   Back to index