Class CustomerDateOfBirth

Value Object

Class CustomerDateOfBirth

Represents a customer birth date

DateTime implements DateTimeInterface
CustomerDateOfBirth
Package: Customer\ValueObjects
Category: System
Extends: DateTime
Located at Services/Core/Customer/ValueObjects/CustomerDateOfBirth.inc.php

Methods summary

public __construct( string $p_dateOfBirth = '1000-01-01 00:00:00' )

Constructor of the class CustomerDateOfBirth.

public format( string $p_format ) : mixed|string

Format DateTime

Methods inherited from DateTime

__set_state(), __wakeup(), add(), createFromFormat(), diff(), getLastErrors(), getOffset(), getTimestamp(), getTimezone(), modify(), setDate(), setISODate(), setTime(), setTimestamp(), setTimezone(), sub()

Constants summary

Constants inherited from DateTime

ATOM, COOKIE, ISO8601, RFC1036, RFC1123, RFC2822, RFC3339, RFC3339_EXTENDED, RFC7231, RFC822, RFC850, RSS, W3C

Properties summary

protected $isNullDate : boolean

Is null date?

false