I want to use the Date library date 4.0.0
This library represents months as Time.Month values instead of integers.
I need to build a Dict that uses months as key.
It doesn’t seem to be possible with Time.Month (although the compiler error doesn’t say explicitly that the problem is that Month is not comparable, I guess this is the problem).
I’d like to know if Time.Month is comparable. If not how to convert Time.Month to Int ? The Time library says it’s possible but it doesn’t say how.