# Google Cloud Vision Ai V1 Client - Class DateTimeRange (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class DateTimeRange.

Datetime range type.

Generated from protobuf message `google.cloud.visionai.v1.DateTimeRange`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ start` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html` Start date time. |
| `↳ end` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html` End data time. |

### getStart

Start date time.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html|null` |   |

### hasStart

### clearStart

### setStart

Start date time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEnd

End data time.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html|null` |   |

### hasEnd

### clearEnd

### setEnd

End data time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.DateTime.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |