Google API Common Protos Client - Class TimeZone (4.13.0)

Reference documentation and code samples for the Google API Common Protos Client class TimeZone.

Represents a time zone from the IANA Time Zone Database.

Generated from protobuf message google.type.TimeZone

Namespace

Google \ Type

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

IANA Time Zone Database time zone. For example "America/New_York".

↳ version string

Optional. IANA Time Zone Database version number. For example "2019a".

getId

IANA Time Zone Database time zone. For example "America/New_York".

Returns
Type Description
string

setId

IANA Time Zone Database time zone. For example "America/New_York".

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

Optional. IANA Time Zone Database version number. For example "2019a".

Returns
Type Description
string

setVersion

Optional. IANA Time Zone Database version number. For example "2019a".

Parameter
Name Description
var string
Returns
Type Description
$this