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

double icaltimezone_get_longitude ( icaltimezone *  zone  ) 

Returns the longitude of a builtin timezone.

Definition at line 1222 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->longitude;
}


Generated by  Doxygen 1.6.0   Back to index