::
:: Country:  UK, Scotland
::
:: Language: UK English
::
:: Author:   John Layt <john@layt.net>
::           David Jarvie <djarvie@kde.org>
::
:: Updated:  2010-05-31
::
:: Source:   http://en.wikipedia.org/wiki/Public_holidays_in_the_United_Kingdom
::           http://www.direct.gov.uk/en/governmentcitizensandrights/livingintheuk/dg_073741
::           http://www.scotland.gov.uk/Topics/People/bank-holidays/
::           http://www.scotland.gov.uk/Topics/People/bank-holidays/FAQs
::
:: Notes:
:: 1) The dates of public holidays vary throughout Scotland, and are set by local
::    authorities. The holidays specified here are those which are generally applicable in
::    most of Scotland. Each town or locality has other public holidays additional to these.
:: 2) Except for the Christmas/New Year holidays, public holidays do not in general coincide
::    with bank holidays.
::

:: Metadata
country     "GB-SCT"
language    "en_GB"
:name        "optional - defaults to country name"
description "National holiday file for Scotland"

:: Public Holidays
"New Year's Day"                    weekend on january 1
"New Year's Day Substitute Holiday" weekend on ( (([january 1] == [saturday after ([january 1])]) ||
                                                  ([january 1] == [sunday after ([january 1])])) ?
                                                     [monday after ([january 1])] :
                                                 noop )
"2nd January"                       weekend on january 2
"2nd January Substitute Holiday"    weekend on ( ([january 2] == [saturday after ([january 1])] ) ?
                                                     [monday after ([january 1])] :
                                                 ((([january 2] == [sunday after ([january 1])]) ||
                                                   ([january 2] == [monday after ([january 1])])) ?
                                                     [tuesday after ([january 1])] :
                                                 noop ) )
"Royal Wedding"                     weekend on 29.4.2011
"Early May Bank Holiday"            weekend on first monday in may
"Diamond Jubilee Holiday"           weekend on 5.6.2012
"Christmas Day"                     weekend on december 25
"Christmas Day Substitute Holiday"  weekend on ( (([december 25] == [saturday after ([december 25])]) ||
                                                  ([december 25] == [sunday after ([december 25])])) ?
                                                     [monday after ([december 25])] :
                                                 noop )
"Boxing Day"                        weekend on december 26
"Boxing Day Substitute Holiday"     weekend on ( ([december 26] == [saturday after ([december 25])] ) ?
                                                     [monday after ([december 25])] :
                                                 (([december 26] == [sunday after ([december 25])] ||
                                                  ([december 26] == [monday after ([december 25])])) ?
                                                     [tuesday after ([december 25])] :
                                                  noop ) )

:: Religious

:: Financial
"Good Friday Bank Holiday"          on easter minus 2
"Spring Bank Holiday"               on ((year == 2012) ? [june 4] : [last monday in may])
"Summer Bank Holiday"               on first monday in august
"St Andrew's Day Bank Holiday"      on ( (([november 30] == [saturday after ([november 30])]) ||
                                          ([november 30] == [sunday after ([november 30])])) ?
                                             [monday after ([november 30])] :
                                         ([november 30]) )

:: Cultural

:: School

:: Daylight Saving
"British Summer Time starts"        on last sunday in march
"British Summer Time ends"          on last sunday in october

:: Seasons

:: Name Days
