GreenCal.Day (GreenCal v0.1.1)

Copy Markdown View Source

One computed civil day — the return type of GreenCal.day/3.

All DateTime fields are UTC unless a :time_zone option was given. A nil event time means the event does not occur within the civil day; check the matching :state field to know why.

Summary

Types

t()

@type t() :: %GreenCal.Day{
  constellation: String.t(),
  date: Date.t(),
  element: :fire | :earth | :air | :water,
  location: GreenCal.location(),
  moon: GreenCal.Day.Moon.t(),
  organ: :fruit | :root | :flower | :leaf,
  sun: GreenCal.Day.Sun.t(),
  twilight: GreenCal.Day.Twilight.t()
}