Constructor
new Birthday(year, month, day)
- Source:
Properties:
Name | Type | Description |
---|---|---|
birthday |
String | The birthday of the contact |
_ |
String | The type of the object, for internal use only |
Builds a birthday object for a contact
Parameters:
Name | Type | Description |
---|---|---|
year |
String | Year of birth (YYYY) |
month |
String | Month of birth (MM) |
day |
String | Day of birth (DD) |
Throws:
-
If the year, month, or day don't have a valid length
- Type
- Error