1 (edited by nicolesharp100 2021-03-20 08:21:45)

Topic: USA Election Day and Native American Heritage Day

There does not seem to be a way to establish a recurring holiday for the day after the fourth Thursday of November, which is an official state holiday in Maryland (USA) and Washington (USA), as Native American Heritage Day (also known as American Indian Heritage Day).

https://en.wikipedia.org/wiki/Native_Am … ritage_Day

2 (edited by nicolesharp100 2021-03-20 08:23:31)

Re: USA Election Day and Native American Heritage Day

I was able to set a recurring two-day holiday starting every fourth Thursday of November as a combined "Thanksgiving Day and Native American Heritage Day."  That works, but might still be a useful feature to add if there are other holidays whose dates depend on the dates of another holiday.  For example, if there was a recurring event on the first Friday after each Full Moon.

3 (edited by nicolesharp100 2021-03-20 08:35:16)

Re: USA Election Day and Native American Heritage Day

Got another one.  I don't see any way to set Election Day for the USA.  It is the Tuesday after the first Monday of November, once every two years.  Any suggestions on how to set that as a recurring event?  Otherwise has to be put in manually.

A number of other events also depend on the date of Election Day, such as (for example) the last date to register to vote in Maryland is 21 days before Election Day.

https://elections.maryland.gov/election … lendar.pdf

Re: USA Election Day and Native American Heritage Day

Hi Nicole,

Yes, these are the difficult ones to program wink
I'm sure almost every country has some special days depending on an other event. But programming all these special cases ain't easy.

I like your second one "the first Friday after each Full Moon". In this case I should build in a request to "www.farmersalmanac.com/full-moon-dates-and-times".

I doubt if many calendars have possibilities for these special recurring days.

Roel

5 (edited by nicolesharp100 2021-03-20 20:40:50)

Re: USA Election Day and Native American Heritage Day

For the examples of Native American Heritage Day and USA Election Day, it seems like the individual steps to find the dates are already available in LuxCal, but they just need to be iterated together such as in the examples below.

Native American Heritage Day:
1.  find the fourth Thursday of November
2.  then add one day
3.  repeat each year

Last Day of Maryland Voter Registration:
1.  find the first Monday of November
2.  find the first Tuesday after step 1
3.  find the date that is 21 days before step 2
4.  repeat once every 2 years (or apply step 1 as every other November)

Whereas events that depend on other events would agreeably be more difficult, since then a particular event or event series would have to be selected, and changing or deleting one event would cause changes or errors in the events dependent on it.

For complicated formulae, perhaps an option to select dates programmatically might be needed, such as:

FourthThursday( EveryNovember ), +1*Day

FirstMonday( EveryNovember/2 ), +FirstTuesday, -21*Day

Re: USA Election Day and Native American Heritage Day

All those special dates for different countries could be a h... of work to program.

But many of those special dates can be found as tables on the net - or can be made manually.
I could suggest :
A setting in the recurring: Dates according to file xxx.yy

The file should/could contain a list of dates in a pre-defined format.
Then  an event- serie could have a file-name with dates for that type of event.
Just an idea.

7 (edited by nicolesharp100 2021-03-21 00:12:54)

Re: USA Election Day and Native American Heritage Day

Schwartz wrote:

All those special dates for different countries could be a h... of work to program.

But many of those special dates can be found as tables on the net - or can be made manually.
I could suggest :
A setting in the recurring: Dates according to file xxx.yy

The file should/could contain a list of dates in a pre-defined format.
Then  an event- serie could have a file-name with dates for that type of event.
Just an idea.

Yes, I was thinking that a workaround (other than manual input) would be to try to compute the dates using a spreadsheet application or a computer algebra system (CAS) and then import them as a CSV file.

For example, moon elongations happen approximately every half-orbit, so for example Ganymede is elongated from Jupiter approximately once every 3.57727648 days.  So you only need to know the date and time of one elongation to estimate the dates and times of additional elongations.  But LuxCal isn't really set up to show an event that recurs once every 3.57727648 days.  That might be easier to import from a spreadsheet.

Another example would be when are your Martian birthdays?  Terran (Earth) birthdays happen once every Terran year, but your birthdays on Mars are only once every Martian year (equal to once every 1.88082 Terran years).  So if you go to Mars, you are actually younger (and weigh less) than on Earth, at least in Martian years (and Martian gravity).  But you need to figure out the dates for an event that recurs once every 686.971 days (1.88082 years).