View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeNonGregorianDate (google_api_content_warehouse v0.4.0)

Non-Gregorian dates are similar to AbsoluteDateTime, but use non-Gregorian calendars.

Attributes

  • chineseMonth (type: String.t, default: nil) -
  • day (type: integer(), default: nil) - The day is the offset within the month, same as in Gregorian calendars.
  • hebrewMonth (type: String.t, default: nil) -
  • islamicMonth (type: String.t, default: nil) -
  • year (type: integer(), default: nil) - The year is relative to the calendar (e.g. 5777 for Hebrew calendar).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeNonGregorianDate{
    chineseMonth: String.t() | nil,
    day: integer() | nil,
    hebrewMonth: String.t() | nil,
    islamicMonth: String.t() | nil,
    year: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.