[libical-glib] update i-cal-timezone.xml



commit 8f5096843d8356de54f8be76de15229ba29e7907
Author: William Yu <williamyu gnome org>
Date:   Sat Apr 2 17:43:18 2016 -0700

    update i-cal-timezone.xml

 TODO                       |   13 +++++++++----
 src/api/i-cal-timezone.xml |   32 ++++++++++++++++++++++++++++----
 2 files changed, 37 insertions(+), 8 deletions(-)
---
diff --git a/TODO b/TODO
index 673240e..760fc9d 100644
--- a/TODO
+++ b/TODO
@@ -95,9 +95,7 @@ i-cal-recur.xml
 i-cal-recurrence-type.xml 
 i-cal-reqstat-type.xml 
 i-cal-restriction.xml 
-i-cal-timezone-phase.xml 
 i-cal-timezone.xml 
-i-cal-timezonetype.xml 
 i-cal-trigger-type.xml 
 i-cal-unknowntokenhandling.xml 
 i-cal-value.xml
@@ -117,6 +115,8 @@ i-cal-derived-value.xml
 i-cal-duration-type.xml 
 i-cal-time.xml 
 i-cal-timetype.xml 
+i-cal-timezone-phase.xml 
+i-cal-timezonetype.xml 
 
 Upgrade results:
 icalcomponent.h
@@ -226,5 +226,10 @@ i-cal-time.xml
        icaltime_days_in_year
 
 i-cal-time-span.xml    
-       
-       
+
+i-cal-timezone
+       icaltimezone_expand_vtimezone
+       icaltimezone_get_location_from_vtimezone
+       icaltimezone_get_tznames_from_vtimezone
+       i_cal_timezone_set_builtin_tzdata
+       i_cal_timezone_get_builtin_tzdata
diff --git a/src/api/i-cal-timezone.xml b/src/api/i-cal-timezone.xml
index ba7c103..b5a7bad 100644
--- a/src/api/i-cal-timezone.xml
+++ b/src/api/i-cal-timezone.xml
@@ -132,20 +132,44 @@
                <parameter type="ICalComponent *" name="child" comment="The component to be appended to 
@timezones."/>
                <comment>Populate the array of timezones with component.</comment>
    </method>
-   <method name ="i_cal_timezone_array_free" corresponds ="icaltimezone_array_free" annotation="skip" kind 
="other" since="1.0">
+   <method name="i_cal_timezone_array_free" corresponds="icaltimezone_array_free" annotation="skip" kind 
="other" since="1.0">
        <parameter type="ICalArray *" name="timezones" native_op="STEAL" comment="Free an array."/>
        <comment xml:space="preserve">Free an array of timezones.</comment>
    </method>
-   <method name ="i_cal_timezone_set_zone_directory" corresponds ="set_zone_directory" kind ="others" 
since="1.0">
+   <method name="i_cal_time_tiemzone_expand_vtimezone" corresponds="icaltimezone_expand_vtimezone" 
kind="other" since="2.0">
+               <parameter type="ICalComponent *" name="comp" comment="The #ICalComponent."/>
+               <parameter type="gint" name="end_year" comment="The end year."/>
+               <parameter type="ICalArray *" name="changes" comment="The changes to be applies."/>
+               <comment xml:space="preserve">Apply a list of timezone changes on the array of components 
until the end year.</comment>
+       </method>
+   <method name="i_cal_timezone_get_location_from_vtimezone" 
corresponds="icaltimezone_get_location_from_vtimezone" kind="get" since="2.0">
+               <parameter type="ICalComponent *" name="component" comment="The #ICalComponent to be 
queried."/>
+               <returns type="gchar *" comment="The location of vtimezone."/>
+               <comment xml:space="preserve">Get the location of the vtimezone in component.</comment>
+   </method>
+   <method name="i_cal_timezone_get_tznames_from_vtimezone" 
corresponds="icaltimezone_get_tznames_from_vtimezone" kind="get" since="2.0">
+               <parameter type="ICalComponent *" name="component" comment="The #ICalComponent to be 
queried."/>
+               <returns type="gchar *" comment="The name of vtimezone."/>
+               <comment xml:space="preserve">Get the name of the vtimezone in component.</comment>
+   </method> 
+   <method name="i_cal_timezone_set_zone_directory" corresponds ="set_zone_directory" kind ="others" 
since="1.0">
                <parameter type="gchar *" name="path" comment="The path to look for the zonefiles"/>  
                <comment xml:space="preserve">Set the directory to look for the zonefiles</comment>
    </method> 
-   <method name ="i_cal_timezone_free_zone_directory" corresponds ="free_zone_directory" kind ="others" 
since="1.0">
+   <method name="i_cal_timezone_free_zone_directory" corresponds="free_zone_directory" kind ="others" 
since="1.0">
        <comment xml:space="preserve">Free memory dedicated to the zonefile directory</comment>
    </method>  
-   <method name ="i_cal_timezone_release_zone_tab" corresponds ="icaltimezone_release_zone_tab" kind 
="others" since="1.0">
+   <method name="i_cal_timezone_release_zone_tab" corresponds="icaltimezone_release_zone_tab" kind ="others" 
since="1.0">
        <comment xml:space="preserve">Free memory dedicated to the zonefile directory</comment>
    </method>
+   <method name="i_cal_timezone_set_builtin_tzdata" corresponds="icaltimezone_set_builtin_tzdata" kind="set" 
since="2.0">
+               <parameter type="gint" name="set" comment="Whether to use builtin timezones files."/>
+               <comment xml:space="preserve">Set whether to use builtin timezones files.</comment>
+       </method>
+       <method name="i_cal_timezone_get_builtin_tzdata" corresponds="icaltimezone_get_builtin_tzdata" 
kind="get" since="2.0">
+               <returns type="gint" comment="Whether to use builtin timezones files."/>
+               <comment xml:space="preserve">Get whether to use builtin timezones files.</comment>
+       </method>
    <method name="i_cal_timezone_dump_changes" corresponds="icaltimezone_dump_changes" kind="other" 
since="1.0">
                <parameter type="ICalTimezone *" name="zone" comment="The timezone to be queried."/>
                <parameter type="gint" name="max_year" comment="max year"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]