Documentation

Date extends Message
in package

Generated from protobuf message <code>libs.datetime.Date</code>

Table of Contents

Properties

$day  : mixed
Generated from protobuf field <code>int32 day = 1;</code>
$month  : mixed
Generated from protobuf field <code>int32 month = 2;</code>
$year  : mixed
Generated from protobuf field <code>int32 year = 3;</code>

Methods

__construct()  : mixed
Constructor.
getDay()  : int
Generated from protobuf field <code>int32 day = 1;</code>
getMonth()  : int
Generated from protobuf field <code>int32 month = 2;</code>
getYear()  : int
Generated from protobuf field <code>int32 year = 3;</code>
setDay()  : $this
Generated from protobuf field <code>int32 day = 1;</code>
setMonth()  : $this
Generated from protobuf field <code>int32 month = 2;</code>
setYear()  : $this
Generated from protobuf field <code>int32 year = 3;</code>

Properties

$day

Generated from protobuf field <code>int32 day = 1;</code>

protected mixed $day = 0

$month

Generated from protobuf field <code>int32 month = 2;</code>

protected mixed $month = 0

$year

Generated from protobuf field <code>int32 year = 3;</code>

protected mixed $year = 0

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type int $day
@type int $month
@type int $year

}

getDay()

Generated from protobuf field <code>int32 day = 1;</code>

public getDay() : int
Return values
int

getMonth()

Generated from protobuf field <code>int32 month = 2;</code>

public getMonth() : int
Return values
int

getYear()

Generated from protobuf field <code>int32 year = 3;</code>

public getYear() : int
Return values
int

setDay()

Generated from protobuf field <code>int32 day = 1;</code>

public setDay(int $var) : $this
Parameters
$var : int
Return values
$this

setMonth()

Generated from protobuf field <code>int32 month = 2;</code>

public setMonth(int $var) : $this
Parameters
$var : int
Return values
$this

setYear()

Generated from protobuf field <code>int32 year = 3;</code>

public setYear(int $var) : $this
Parameters
$var : int
Return values
$this

        
On this page

Search results