Duration
Object Hierarchy:
Description:
[
CCode ( type_id =
"i_cal_duration_get_type ()" ) ]
public class Duration :
Object
This is the ICalDuration instance.
Content:
Creation methods:
Methods:
- public string as_ical_string ()
Converts the Duration to the representation
in string.
- public int as_int ()
Converts the Duration to the representation
in second.
- public uint get_days ()
Gets the days of Duration.
- public uint get_hours ()
Gets the hours of Duration.
- public uint get_minutes ()
Gets the minutes of Duration.
- public uint get_seconds ()
Gets the seconds of Duration.
- public uint get_weeks ()
Gets the weeks of Duration.
- public bool is_bad_duration ()
Checks whether the Duration is the
bad_duration.
- public bool is_neg ()
Gets the is_neg of Duration.
- public bool is_null_duration ()
Checks whether the Duration is the
null_duration.
- public void set_days (uint days)
Sets the days of Duration.
- public void set_hours (uint hours)
Sets the hours of Duration.
- public void set_is_neg (bool is_neg)
Sets the is_neg of Duration.
- public void set_minutes (uint minutes)
Sets the minutes of Duration.
- public void set_seconds (uint seconds)
Sets the seconds of Duration.
- public void set_weeks (uint weeks)
Sets the weeks of Duration.
Inherited Members:
All known members inherited from class ICal.Object
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref