Cldr.Calendar.Config (Cldr Calendars v1.11.0) View Source
Defines the configuration for a calendar.
See Cldr.Calendar.new/3 for usage details.
Link to this section Summary
Link to this section Types
Specs
t() :: %Cldr.Calendar.Config{
begins_or_ends: :begins | :ends,
calendar: atom(),
cldr_backend: Cldr.backend() | nil,
day_of_week: Cldr.Calendar.day_of_week(),
first_or_last: :first | :last,
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