Hi there!

This is most definitely possible. You can do so in its own library, as 
Elixir's builtin date/time/calendar handling functionality is built in such 
a way that it is easily extendable for future calendars without changing 
the language itself.

It is recommended reading the documentation in the Calendar 
<https://hexdocs.pm/elixir/Calendar.html> and the various date/time 
modules. It might also be worthwhile to look into how they are implemented 
by looking at their source.
As for examples of other calendars: Besides Calendar.ISO which ships with 
Elixir itself, there are a couple in ex_cldr_calendars 
<https://hex.pm/packages/ex_cldr_calendars> and libraries dependent on that 
as well.

Cheers,

~Marten/Qqwy

On Monday, January 10, 2022 at 3:40:17 AM UTC+1 phellp...@gmail.com wrote:

> I want to add implements the Dekatrian calendar 
> <https://dekatrian.com/index.php?title=Calend%C3%A1rio_Dekatrian> for 
> elixir, I want to know if I can do it and how is the steps to do this.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/d94df5ad-0113-4a7c-b842-9f3f0e3dcfcbn%40googlegroups.com.

Reply via email to