Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AddressBlock
  • AddressClass
  • CustomerAdditionalAddressInfo
  • CustomerB2BStatus
  • CustomerCallNumber
  • CustomerCity
  • CustomerCompany
  • CustomerCountryIso2
  • CustomerCountryIso3
  • CustomerCountryName
  • CustomerCountryZoneIsoCode
  • CustomerCountryZoneName
  • CustomerDateOfBirth
  • CustomerEmail
  • CustomerFirstname
  • CustomerGender
  • CustomerHashedPassword
  • CustomerHouseNumber
  • CustomerInputValidatorSettings
  • CustomerLastname
  • CustomerMemo
  • CustomerNumber
  • CustomerPassword
  • CustomerPostcode
  • CustomerServiceSettings
  • CustomerStreet
  • CustomerSuburb
  • CustomerVatNumber

Class CustomerDateOfBirth

Value Object

Class CustomerDateOfBirth

Represents a customer birth date

DateTime implements DateTimeInterface
Extended by 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.

Constructor of the class CustomerDateOfBirth.

Parameters

$p_dateOfBirth
Customer's date of birth.

Overrides

DateTime::__construct
public mixed|string
# format( string $p_format )

Format DateTime

Format DateTime

Formats a date by a given pattern and ensures that dates that represent empty data are formatted to '1000-01-01 00:00:00'

Parameters

$p_format
Date format.

Returns

mixed|string
Formatted date.

Overrides

DateTime::format

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, RFC822, RFC850, RSS, W3C

Properties summary

protected boolean $isNullDate

Is null date?

Is null date?

# false
API documentation generated by ApiGen