View Source GoogleApi.CloudSearch.V1.Model.Date (google_api_cloud_search v0.22.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.