Re: [LEAPSECS] Mechanism to provide tai-utc.dat locally

From: Clive D.W. Feather <clive_at_demon.net>
Date: Fri, 29 Dec 2006 09:25:33 +0000

Steve Allen said:
> One of the most challenging Gregorian calender problems is the date
> of the day after Thanksgiving in the US. Thanksgiving is the 4th
> Thursday in November. The day after is a Friday, but it is not
> necessarily the 4th Friday.

Why is this challenging? It's whichever of 23 to 29 November (inclusive) is
a Friday.

For something more challenging, try the 8 Bank Holidays in England:

(1) First weekday (i.e. Monday to Friday) of the year.
(2) Good Friday, using UK Statute Law definition of Easter.
(3) Easter Monday, ditto.
(4) First Monday in May.
(5) Last Monday in May [*].
(6) Last Monday in August.
(7) First weekday after 24th December.
(8) Second weekday after 24th December.

[*] Except, if memory serves, in one recent year when it was moved to
the first Monday in June.

--
Clive D.W. Feather  | Work:  <clive_at_demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive_at_davros.org>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
THUS plc            |                            |
Received on Fri Dec 29 2006 - 01:28:01 PST

This archive was generated by hypermail 2.3.0 : Sat Sep 04 2010 - 09:44:55 PDT