GoogleTypeInterval

GoogleApi.ContentWarehouse.V1.Model.GoogleTypeInterval


Table of Contents ▼

Jump to a specific part of the page:

Description

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. endTime (type: DateTime.t, default: nil)
    - Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
  2. startTime (type: DateTime.t, default: nil)
    - Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleTypeInterval{
endTime: DateTime.t() | nil,
startTime: DateTime.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleTypeInterval