ICalGLib.Period¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class ICalGLib.Period(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This is the
ICalGLib.Period
instance.- classmethod new_from_string(str)¶
- Parameters:
str (
str
) – The string used to create theICalGLib.Period
- Returns:
The newly created
ICalGLib.Period
- Return type:
Creates a
ICalGLib.Period
from a string.New in version 1.0.
- classmethod new_null_period()¶
- Returns:
The newly created default
ICalGLib.Period
- Return type:
Creates a default
ICalGLib.Period
.New in version 1.0.
- as_ical_string()¶
- Returns:
The string representation of
ICalGLib.Period
.- Return type:
Translates
ICalGLib.Period
to string.New in version 1.0.
- get_duration()¶
- Returns:
The duration of self.
- Return type:
Gets the duration from an
ICalGLib.Period
.New in version 1.0.
- get_end()¶
- Returns:
The end of self.
- Return type:
Gets the end time from an
ICalGLib.Period
.New in version 1.0.
- get_start()¶
- Returns:
The start of self.
- Return type:
Gets the start time from an
ICalGLib.Period
.New in version 1.0.
- is_null_period()¶
- Returns:
1 if yes, 0 if not.
- Return type:
Checks the
ICalGLib.Period
is null_period.New in version 1.0.
- is_valid_period()¶
- Returns:
1 if yes, 0 if not.
- Return type:
Checks the
ICalGLib.Period
is valid_period.New in version 1.0.
- set_duration(duration)¶
- Parameters:
duration (
ICalGLib.Duration
) – The duration of self
Sets the duration of an
ICalGLib.Period
.New in version 1.0.
- set_end(end)¶
- Parameters:
end (
ICalGLib.Time
) – The end of self
Sets the end time of an
ICalGLib.Period
.New in version 1.0.
- set_start(start)¶
- Parameters:
start (
ICalGLib.Time
) – The start of self
Sets the start time of an
ICalGLib.Period
.New in version 1.0.