User:Dcorrin

From TheKolWiki
Revision as of 18:34, 14 December 2012 by Dcorrin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Next Dates:

  • Festival of Jarlsberg (next): August 21, 2024 (63 days) [Actually lesser of 63 days or 197 days]
  • Valentine's Day (next): September 01, 2024 (74 days) [Lesser of 74 days or 240 days]
  • St. Sneaky Pete's Day (next): September 08, 2024 (81 days) [Lesser of 81 days or 271 days]
  • Oyster Egg Day (next): September 15, 2024 (88 days) [or Easter]
  • El Dia de Los Muertos Borrachos (next): September 23, 2024 (96 days)
  • Generic Summer Holiday (next): June 28, 2024 (9 days)
  • Dependence Day (next): July 07, 2024 (18 days) [Lesser of 18 days or 15 days]
  • Arrrbor Day (next): July 15, 2024 (26 days)
  • Labór Day (next): July 25, 2024 (36 days)
  • Halloween (next): August 04, 2024 (46 days) [Lesser of 46 days or 134 days]
  • Feast of Boris (next): August 11, 2024 (53 days) [or U.S. Thanksgiving]
  • Yuletide (next): August 16, 2024 (58 days)
  • Groundhog Day (next): February 02, 2025 (228 days)
  • April Fool's Day (next): April 01, 2025 (286 days)
  • Cinco de Mayo (next): May 05, 2025 (320 days)
  • Talk Like a Pirate Day (next): September 19, 2024 (92 days)
  • Columbus Day - No idea (2nd Monday in October)
  • Crimbo Day (next): December 25, 2024 (189 days)
  • Crimbo Season (next): December 01, 2024 (165 days)
  • Friday 13th - No idea (need day of week function)


Table of recurring dates:

Jarlsuary 1 - Festival of Jarlsberg
Frankuary 4 - Valentine's Day
Starch 3 - St. Sneaky Pete's Day
April 2 - Oyster Egg Day
Martinus 2 - El Dia de Los Muertos Borrachos
Bill 3 - Generic Summer Holiday
Bor 4 - Dependence Day
Petember 4 - Arrrbor Day
Carlvember 6 - Labór Day
Porktober 8 - Halloween
Boozember 7 - Feast of Boris
Dougtember 4 - Yuletide


New Year's Day (January 1 or 2) (Also Festival of Jarlsberg)
Groundhog Day (February 2)
Valentine's Day (February 14)
April Fool's Day (April 1)
Cinco de Mayo (May 5)
Talk Like a Pirate Day (September 19)
Columbus Day (2nd Monday in October) - this is harder
Halloween (October 31)
Use December 1st (when the advent/creatures start) for crimbo or the 25th?
Perhaps call one crimbo day and the other crimbo season?

Why are Feast of Boris, Dependence Day, St Sneaky Pete's Day, and OYSTER EGG DAY not listed as doubles in Calendar - incomplete in the real life holidays section, they would be U.S. Thanksgiving (variable), July 4th, St. Patrick's Day (March 17), Easter (variable)


Notes:

Need a days to Real Date - Borrowed Template:Age in Days and Template:Gregorian serial date from wikipedia
Cascading ifs for substring of holiday
Compute value or minimum of two values if that is the case
Call it Event/Day? Want to reserve the main event template for next event.
Could also implement Event/Last - don't know if anyone would use that though.
Might want to call out if the time is the same (qv drunksgiving)

Weekday in month and it's subfunctions /calc and /ordinal can be borrowed from wikipeida to calculate the real calendar date for thansgiving and Columbus day.
There is also a template Computus with 9 sub-functions which can be used to compute Easter.
Friday the 13th remains an issue, as there can be anywhere from 28 to 427 days between occurances, and even though there is from 1-3 per year, the cycle is? 28 years long.
We could check every ordinal friday for the next 14 months to find the first match to a 13...
Actually we are currently (as of December 2012) in a 14 month low period next friday 13th doesn't occur until September 2013.