How to programatically identify holidays?
brunoais opened this issue · comments
For my use cases, I want to know, for the country and city it is about, what holiday it is.
For example, I may want to know:
- When is Pentecost?
- When is the city-specific holiday?
All that appears to be the output of the API is a Holiday
object instance that only has a date and a specifier text which may or may not be the holiday I'm looking for.
Help please.
Hi @brunoais ,
you can use the propertiesKey as an identifier for the holiday if you have to distinguish the holidays. It is rather a key for the description of the holiday but there is no such thing as an id otherwise.
But if you find the API insufficient for your purposes please feel free to propose a solution by PR.
Cheers
Sven
OK Thank you.
It is enough, at least, for now