View Source Avrogen.Avro.Types.Logical.Date (avrogen v0.8.1)

This type represents the date type according to the specification.

The date logical type represents a date within the calendar, with no reference to a particular time zone or time of day.

A date logical type annotates an Avro int, where the int stores the number of days from the unix epoch, 1 January 1970 (ISO calendar).

Summary

Types

@type t() :: %Avrogen.Avro.Types.Logical.Date{
  logicalType: String.t() | nil,
  type: String.t() | nil
}

Functions