\Google\Photos\Library\V1DateRange

Defines a range of dates. Both dates must be of the same format. For more information, see <a href="#Date">Date</a>

Generated from protobuf message google.photos.library.v1.DateRange

Summary

Methods
Properties
Constants
__construct()
getStartDate()
setStartDate()
getEndDate()
setEndDate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$start_date
$end_date
N/A

Properties

$start_date

$start_date : 

The start date (included as part of the range) in one of the formats described.

Generated from protobuf field .google.type.Date start_date = 1;

Type

$end_date

$end_date : 

The end date (included as part of the range). It must be specified in the same format as the start date.

Generated from protobuf field .google.type.Date end_date = 2;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type \Google\Type\Date $start_date
      The start date (included as part of the range) in one of the formats
      described.
@type \Google\Type\Date $end_date
      The end date (included as part of the range). It must be specified in the
      same format as the start date.

}

getStartDate()

getStartDate() : \Google\Type\Date

The start date (included as part of the range) in one of the formats described.

Generated from protobuf field .google.type.Date start_date = 1;

Returns

\Google\Type\Date

setStartDate()

setStartDate(\Google\Type\Date  $var) : $this

The start date (included as part of the range) in one of the formats described.

Generated from protobuf field .google.type.Date start_date = 1;

Parameters

\Google\Type\Date $var

Returns

$this

getEndDate()

getEndDate() : \Google\Type\Date

The end date (included as part of the range). It must be specified in the same format as the start date.

Generated from protobuf field .google.type.Date end_date = 2;

Returns

\Google\Type\Date

setEndDate()

setEndDate(\Google\Type\Date  $var) : $this

The end date (included as part of the range). It must be specified in the same format as the start date.

Generated from protobuf field .google.type.Date end_date = 2;

Parameters

\Google\Type\Date $var

Returns

$this