Current section

Files

Jump to
magical lib ical calendar.ex
Raw

lib/ical/calendar.ex

defmodule Magical.Calendar do
@moduledoc """
A representation of a iCalendar VCALENDAR
"""
defstruct prodid: nil,
version: nil,
time_zone: "Etc/UTC",
name: nil,
description: nil,
events: []
@type t :: %__MODULE__{
prodid: String.t(),
name: String.t(),
description: String.t(),
time_zone: String.t(),
events: [Magical.Event.t()]
}
end