Logo Search packages:      
Sourcecode: libical version File versions

double icaltimezone_get_latitude ( icaltimezone *  zone  ) 

Returns the latitude of a builtin timezone.

Definition at line 1207 of file icaltimezone.c.

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

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


Generated by  Doxygen 1.6.0   Back to index