diff options
Diffstat (limited to 'libical/src/libical/icaltimezone.c')
-rw-r--r-- | libical/src/libical/icaltimezone.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libical/src/libical/icaltimezone.c b/libical/src/libical/icaltimezone.c index ced5a98e7e..796e01a3ea 100644 --- a/libical/src/libical/icaltimezone.c +++ b/libical/src/libical/icaltimezone.c @@ -999,6 +999,22 @@ icaltimezone_get_location (icaltimezone *zone) } +/* Returns the latitude of a builtin timezone. */ +double +icaltimezone_get_latitude (icaltimezone *zone) +{ + return zone->latitude; +} + + +/* Returns the longitude of a builtin timezone. */ +double +icaltimezone_get_longitude (icaltimezone *zone) +{ + return zone->longitude; +} + + /* Returns the VTIMEZONE component of a timezone. */ icalcomponent* icaltimezone_get_component (icaltimezone *zone) |