summaryrefslogtreecommitdiff
path: root/wizards/source/schedule
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2002-02-15 13:09:52 +0000
committerBehrend Cornelius <bc@openoffice.org>2002-02-15 13:09:52 +0000
commit591b7eb653189c946f248d4696a12554ff00744e (patch)
tree821c33980a9eead6430d7c76e79a487322f54d1b /wizards/source/schedule
parentf6c33c0a8d0dc86024f6a1b1b7b4591ede5e771d (diff)
#97566# Holiday for 1st January in Taiwan inserted
Diffstat (limited to 'wizards/source/schedule')
-rw-r--r--wizards/source/schedule/LocalHolidays.xba5
1 files changed, 3 insertions, 2 deletions
diff --git a/wizards/source/schedule/LocalHolidays.xba b/wizards/source/schedule/LocalHolidays.xba
index 21768d0eeeb8..973944033d55 100644
--- a/wizards/source/schedule/LocalHolidays.xba
+++ b/wizards/source/schedule/LocalHolidays.xba
@@ -369,6 +369,7 @@ End Sub
Sub FindWholeYearHolidays_TW(YearInt as Integer)
CalculateChineseNewYear(YearInt)
+ CalInsertBankholiday(DateSerial(YearInt, 1, 1), &quot;元旦&quot;, cHolidayType_Full)
CalInsertBankholiday(DateSerial(YearInt, 2, 28), &quot;和平紀念日&quot;, cHolidayType_Full)
CalInsertBankholiday(DateSerial(YearInt, 3, 8), &quot;婦女節&quot;, cHolidayType_Half)
CalInsertBankholiday(DateSerial(YearInt, 3, 29), &quot;革命先烈紀念日(青年節)&quot;, cHolidayType_Half)
@@ -404,7 +405,7 @@ End Function
Sub FindWholeYearHolidays_CN(YearInt as Integer)
CalculateChineseNewYear(YearInt)
CalInsertBankholiday(DateSerial(YearInt, 1, 1), &quot;元旦&quot;, cHolidayType_Full) &apos; New Year
- CalInsertBankholiday(DateSerial(YearInt, 3, 8), &quot;妇女节&quot;, cHolidayType_Half) &apos; Women&apos;s Day
+ CalInsertBankholiday(DateSerial(YearInt, 3, 8), &quot;妇女节&quot;, cHolidayType_Half) &apos; Women&apos;s Day
CalInsertBankholiday(DateSerial(YearInt, 4, 5), &quot;清明节&quot;, cHolidayType_Half) &apos; Day of the deads
CalInsertBankholiday(DateSerial(YearInt, 5, 1), &quot;劳动节&quot;, cHolidayType_Full) &apos; International Labour Day
CalInsertBankholiday(DateSerial(YearInt, 6, 1), &quot;儿童节&quot;, cHolidayType_Half) &apos; Children&apos;s Day
@@ -499,4 +500,4 @@ Function CalculateJapaneseAutumnDay(iSelYear as Integer)
If (iSelYear &gt; 1979) And (iSelYear &lt; 2100) Then
CalculateJapaneseAutumnDay() = Int(23.8431 + 0.242194)* (iSelYear-1980) - (Int((iSelYear-1980)/4))
End If
-End Function</script:module>
+End Function</script:module> \ No newline at end of file