Cldr Calendars v1.1.0 Cldr.Calendar.Config View Source

Defines the configuration for a calendar.

See Cldr.Calendar.new/3 for usage details.

Link to this section Summary

Types

t()

Defines the struct type for a calendar configuration

Link to this section Types

Link to this type

t()

View Source
t() :: %Cldr.Calendar.Config{
  begins_or_ends: :begins | :ends,
  calendar: Cldr.Calendar.calendar() | nil,
  cldr_backend: Cldr.backend() | nil,
  day_of_week: Cldr.Calendar.day_of_week(),
  first_or_last: :first | :last,
  locale: Cldr.Locale.locale_name() | Cldr.LanguageTag.t() | nil,
  min_days_in_first_week: 1..7,
  month_of_year: pos_integer(),
  weeks_in_month: [pos_integer()],
  year: :majority | :starts | :ends
}

Defines the struct type for a calendar configuration