DateRange
extends Message
in package
Generated from protobuf message <code>libs.datetime.DateRange</code>
Table of Contents
Properties
- $end : mixed
- Generated from protobuf field <code>.libs.datetime.Date end = 2;</code>
- $start : mixed
- Generated from protobuf field <code>.libs.datetime.Date start = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- clearEnd() : mixed
- clearStart() : mixed
- getEnd() : Date|null
- Generated from protobuf field <code>.libs.datetime.Date end = 2;</code>
- getStart() : Date|null
- Generated from protobuf field <code>.libs.datetime.Date start = 1;</code>
- hasEnd() : mixed
- hasStart() : mixed
- setEnd() : $this
- Generated from protobuf field <code>.libs.datetime.Date end = 2;</code>
- setStart() : $this
- Generated from protobuf field <code>.libs.datetime.Date start = 1;</code>
Properties
$end
Generated from protobuf field <code>.libs.datetime.Date end = 2;</code>
protected
mixed
$end
= null
$start
Generated from protobuf field <code>.libs.datetime.Date start = 1;</code>
protected
mixed
$start
= null
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 \Libs\Datetime\Date $start @type \Libs\Datetime\Date $end}
clearEnd()
public
clearEnd() : mixed
clearStart()
public
clearStart() : mixed
getEnd()
Generated from protobuf field <code>.libs.datetime.Date end = 2;</code>
public
getEnd() : Date|null
Return values
Date|nullgetStart()
Generated from protobuf field <code>.libs.datetime.Date start = 1;</code>
public
getStart() : Date|null
Return values
Date|nullhasEnd()
public
hasEnd() : mixed
hasStart()
public
hasStart() : mixed
setEnd()
Generated from protobuf field <code>.libs.datetime.Date end = 2;</code>
public
setEnd(Date $var) : $this
Parameters
- $var : Date
Return values
$thissetStart()
Generated from protobuf field <code>.libs.datetime.Date start = 1;</code>
public
setStart(Date $var) : $this
Parameters
- $var : Date