Cldr Calendars v0.6.0 Cldr.Calendar.Config View Source
Defines the configuration for a calendar.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Cldr.Calendar.Config{
begins_or_ends: :begins | :ends,
calendar: Cldr.Calendar.calendar() | nil,
cldr_backend: Cldr.backend() | nil,
day: Cldr.Calendar.day_of_week(),
first_or_last: :first | :last,
locale: Cldr.Locale.locale_name() | Cldr.LanguageTag.t() | nil,
min_days: 1..7,
month: pos_integer(),
weeks_in_month: [pos_integer()],
year: :majority | :starts | :ends
}
t() :: %Cldr.Calendar.Config{ begins_or_ends: :begins | :ends, calendar: Cldr.Calendar.calendar() | nil, cldr_backend: Cldr.backend() | nil, day: Cldr.Calendar.day_of_week(), first_or_last: :first | :last, locale: Cldr.Locale.locale_name() | Cldr.LanguageTag.t() | nil, min_days: 1..7, month: pos_integer(), weeks_in_month: [pos_integer()], year: :majority | :starts | :ends }
Defines the struct type for a calendar configuration