:right-sidebar: True Datetimeperiod =================================================================== .. currentmodule:: gi.repository.ICalGLib .. class:: Datetimeperiod(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.ICalGLib.Object`, :class:`~gi.repository.GObject.Object` This is the ICalDatetimeperiod instance. Constructors ------------ .. rst-class:: interim-class .. class:: Datetimeperiod :no-index: .. classmethod:: new() -> ~gi.repository.ICalGLib.Datetimeperiod Creates a new :obj:`~gi.repository.ICalGLib.Datetimeperiod`\. .. versionadded:: 1.0 Methods ------- .. rst-class:: interim-class .. class:: Datetimeperiod :no-index: .. method:: get_period() -> ~gi.repository.ICalGLib.Period Gets the period attribute of :obj:`~gi.repository.ICalGLib.Datetimeperiod`\. .. versionadded:: 1.0 .. method:: get_time() -> ~gi.repository.ICalGLib.Time Gets the time attribute of :obj:`~gi.repository.ICalGLib.Datetimeperiod`\. .. versionadded:: 1.0 .. method:: set_period(period: ~gi.repository.ICalGLib.Period) -> None Sets the period attribute of :obj:`~gi.repository.ICalGLib.Datetimeperiod`\. .. versionadded:: 1.0 :param period: The period attribute of ``dtp`` .. method:: set_time(time: ~gi.repository.ICalGLib.Time) -> None Sets the time attribute of :obj:`~gi.repository.ICalGLib.Datetimeperiod`\. .. versionadded:: 1.0 :param time: The time attribute of ``dtp``