google_api_cloud_search v0.2.0 GoogleApi.CloudSearch.V1.Model.Date View Source

Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date between the year 1 and 9999.

Attributes

  • day (type: integer(), default: nil) - Day of month. Must be from 1 to 31 and valid for the year and month.
  • month (type: integer(), default: nil) - Month of date. Must be from 1 to 12.
  • year (type: integer(), default: nil) - Year of date. Must be from 1 to 9999.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudSearch.V1.Model.Date{
  day: integer(),
  month: integer(),
  year: integer()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.