Well, if that's going to be done then the UK holidays can be a bit difficult. In particular, holidays falling on a weekend are celebrated on the Monday following. If two consecutive holidays fall on a Saturday and Sunday, they are observed on the Monday and Tuesday following. Presumably that would need some kind of country-specific switch (or is that a general rule for other countries as well?).
UK holidays are also occasionally a bit unpredictable - for example, the Spring Bank Holiday is usually the last Monday in May, but back in 2002 was changed to Tuesday 4 June to pair up with a special Bank Holiday on Monday 3 June (Golden Jubilee Bank Holiday) to give a 4-day weekend. This might not sound too convenient, but would it be worth including the possibility for some kind of "holiday exceptions" in a country-specific file (e.g. the main holidays file) so that a holiday defined by parsing of previous parameters in the file can be cancelled, and so that other holidays can be added? We would also need to draw a distinction between holidays and festivals - I've got a load of festivals such as Mothering Sunday, Commonwealth Day and Shrove Tuesday in holidays.gb.xml which aren't holidays (and don't obey the above rule about holidays falling on a weekend) but which are nice to include anyway. Thanks. James ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601