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')
string
Customer'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'
string
Date format.
mixed|string
Formatted date.
isNullDate : boolean
var |
---|
boolean