KnowledgeGraphDateTimeProto

GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphDateTimeProto


Table of Contents ▼

Jump to a specific part of the page:

Description

No description given.

Attributes List

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

View Attributes

Attributes

  1. days (type: integer(), default: nil)
    - A day of month, 1-31. If present, year and month must be present as well, and must form a valid date.
  2. hours (type: integer(), default: nil)
    - Hour of the day, 0-23
  3. microseconds (type: integer(), default: nil)
    - Microsecond, in the interval [0, 999999]. If present, seconds have to be present as well.
  4. minutes (type: integer(), default: nil)
    - Minute, 0-59. If present, hours have to be present as well.
  5. months (type: integer(), default: nil)
    - A month, 1-12. If present, year must be present as well.
  6. seconds (type: integer(), default: nil)
    - Second, in the interval [0, 60], where 60 is an exceptional value reserved for leap seconds. If present, minutes have to be present as well.
  7. tzOffset (type: String.t, default: nil)
    - Timezone offset in seconds (can be positive/negative). If present, hours have to be present as well If absent, we expect the time above to be in local time (a.k.a. civil time, go/httat#civil_time).
  8. years (type: integer(), default: nil)
    - A year.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphDateTimeProto{
days: integer() | nil,
hours: integer() | nil,
microseconds: integer() | nil,
minutes: integer() | nil,
months: integer() | nil,
seconds: integer() | nil,
tzOffset: String.t() | nil,
years: integer() | nil
}

Function

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

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