Value Object
Class CustomerDateOfBirth
Represents a customer birth date
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| extends |
DateTime |
__construct(string $p_dateOfBirth = '1000-01-01 00:00:00')
stringCustomer's date of birth.
format(string $p_format) : mixed|string
Formats a date by a given pattern and ensures that dates that represent empty data are formatted to '1000-01-01 00:00:00'
stringDate format.
mixed|stringFormatted date.
isNullDate : boolean
| var |
|---|
boolean