Wikifunctions:Type proposals/Igbo calendar month
Done Igbo calendar month (Z16927)
Summary
An enumeration for the thirteen months of the Igbo calendar.
Uses
Why should this exist
To represent the thirteen months of the Igbo calendar, it is important to recognize its significance for the Igbo people in terms of worship, festivals, and commerce. The Igbo calendar plays a crucial role in determining the appropriate days for worship, including performing specific rites. It also identifies the months in which various festivals occur, helping the Igbo people plan and participate in these cultural events. Additionally, the calendar aids in knowing the exact days on which their market days fall, facilitating trade and commerce.
An already created function that would benefit from this type(and probably should be updated once the type is available):
What kinds of functions would be created using this
- It can be used to build a function that calculates the number of Eke, Orie, Afor, and Nkwo days within a date interval (e.g., Ọnwa Ana 2024 to Ọnwa Ilo Mmụọ 2025).
- Translate Months to numbers and back.
- Following and previous months (also, more than just the immediately following or previous)
What standard concepts, if any, does this align with
the igbo calendar
Structure
Like all enumeration types, the igbo calendar month consists of a single key. The key is an identity key.
values
- Ọnwa Mbụ
- Ọnwa Abụo
- Ọnwa Ife Eke
- Ọnwa Anọ
- Ọnwa Agwụ
- Ọnwa Ifejiọkụ
- Ọnwa Alọm Chi
- Ọnwa Ilo Mmụọ
- Ọnwa Ana
- Ọnwa Okike
- Ọnwa Ajana
- Ọnwa Ede Ajana
- Ọnwa Ụzọ Alụsị
{
"type": "Igbo calendar month",
"value": "Ọnwa Agwụ"
}
|
{
"Z1K1": "Zxyz",
"ZxyzK1": "0"
}
|
Validator
The validator ensures that:
- the identity key points directly to a value of igbo calendar month
Identity
Two igbo calendar months are the same if their identity is the same ZID
Converting to code
From my search most of the modern programming languages doesn’t have other local calendars (like Chinese, Jewish, Islamic and others) pre-built in them apart from Gregorian calendar so i think that igbo calendar month fit equal with Gregorian calendar when translating the months to numbers. So in Javascript it start from 0 - 12 and in Python it start from 1 - 13.
Python
…
JavaScript
…
Renderer
As for all enumerations, the renderer displays the label of the value object.
Parsers
As with all enumerations, there is no parser, but a selector based on pre-defined values.
Alternatives
Instead of an enumeration with all twelve months, we could represent months as numbers (either 0-based as in JavaScript, or 1-based as in Python).
Comments
Support as proposer. --Dolphyb (talk) 17:34, 3 June 2024 (UTC)
Support I've just read the wiki article, and this proposal seems consistent with it. --99of9 (talk) 02:59, 6 June 2024 (UTC)