Avrogen.Avro.Types.Logical.Date (avrogen v1.1.0)

Copy Markdown View Source

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

t()

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

Functions

parse(map)