GoogleApi.CloudSearch.V1.Model.Date (google_api_cloud_search v0.10.0) 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

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.