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

static void icaltimezone_init_builtin_timezones ( void   )  [static]

This initializes the builtin timezone data, i.e. the builtin_timezones array and the special UTC timezone. It should be called before any code that uses the timezone functions.

Definition at line 1540 of file icaltimezone.c.

References icaltimezone_parse_zone_tab(), and utc_timezone.

Referenced by icaltimezone_get_builtin_timezone(), icaltimezone_get_builtin_timezone_from_offset(), icaltimezone_get_builtin_timezones(), and icaltimezone_get_utc_timezone().

    /* Initialize the special UTC timezone. */
    utc_timezone.tzid = (char *)"UTC";

    icaltimezone_parse_zone_tab ();

Generated by  Doxygen 1.6.0   Back to index