EBookContacts.ContactDate¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
day |
r/w |
||
month |
r/w |
||
year |
r/w |
Methods¶
class |
|
class |
|
|
|
|
|
|
Details¶
- class EBookContacts.ContactDate¶
- classmethod from_string(str)¶
- Parameters:
str (
str
) – a date string in the format YYYY-MM-DD or YYYYMMDD- Returns:
A new
EBookContacts.ContactDate
struct.- Return type:
Creates a new
EBookContacts.ContactDate
based on str.
- classmethod new()¶
- Returns:
A new
EBookContacts.ContactDate
struct.- Return type:
Creates a new
EBookContacts.ContactDate
struct.
- equal(dt2)¶
- Parameters:
dt2 (
EBookContacts.ContactDate
) – anEBookContacts.ContactDate
- Returns:
- Return type:
Checks if self and dt2 are the same date.
- free()¶
Frees the self struct and its contents.