ÿþ<Html> <CET_ADSENSEH> <script type="text/javascript"><!-- google_ad_client = "pub-5291624188982543"; /* 728x90, A>740=> 04.02.08 */ google_ad_slot = "9704471239"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </CET_ADSENSEH> <CET_HEADER> <table width="100%" border="0"> <tr> <td width="220"><a href="http://www.chmlib.com"><img src="http://www.chmlib.com/chmlib_logo.gif" alt="CHMlib Logo" width="220" height="93" border="0"></a></td> <td width="240"><div align="center"><span class="style6"><B><a href="http://www.chmlib.com">Free Online Library Of Help Files</a></B><a href="http://www.chmlib.com"><B>.<br> Read help files in convenient way.</B></a></span></div></td><td ><a href="http://www.projetex.com/">Leading Translation Management System for Translation Agencies</a>, <a href="http://www.to3000.com/">Top Translation Management Software for Freelance Translators</a>, <a href="http://www.exactspent.com/">Time Tracking Software</a>, <a href="http://www.anycount.com/">Word Count, Character Count and Line Count Software</a>, <a href="http://www.catcount.com/">Computer Assisted Translation Tool for Easy Word Count</a>, <a href="http://www.clipcount.com/">Clipboard Character Count Software</a>, <a href="http://www.anymem.com/">User-Friendly Translation Memory Software</a>, <a href="http://www.anylexic.com/">Terminology Management Software</a>, <a href="http://www.anylexic.com/Terminology-Management-Software-Server-Features.html">Terminology Management Server</a>, <a href="http://www.winlexic.com/">Microsoft Glossary Software</a>, <a href="http://www.acrolexic.com/">Dictionary of Acronyms</a>, <a href="http://www.langmates.com/">Social Network for Translators and Translation Agencies</a>, <a href="http://www.acronymia.com/">Acronyms and Abbreviations Search Engine</a>, <a href="http://www.translation3000.com/Translation/Russian_Translation.html">Russian Translation Lab</a>, <a href="http://www.translation3000.com/Translation/Ukrainian_Translation.html">Ukrainian Translation Lab</a>.</td></tr></td> </tr> </table> <table width="100%" border="0"> <tr> <td colspan="2" bgcolor="#0099FF"><div align="right" class="style1"> <div align="center"><font color="#FFFFFF">You are reading help file online using chmlib.com</font></div> </div></td> </tr> </table> </CET_HEADER> <Head></Head><Title>PSCAddAllHolidays</Title><Body><font face="Arial"><font SIZE="2"> <P Align="left"> <font SIZE="3"><B>PSCAddAllHolidays function</B></font><BR> </P>Adds countries holiday names for the specified date.<BR> <BR> <B>function</B> PSCAddAllHolidays(Const ADate: TDateTime; Const ACountries: Array of TPSCCountryID; Const HolidayList: <A href="IPSCStrings.html">IPSCStrings</A>; DefaultHolidays: Boolean): Boolean; <BR> <BR> <font SIZE="2"><B>Unit</B></font><BR> <A href="psc_calendar.html">psc_calendar</A><BR> <BR> <font SIZE="2"><B>Description</B></font><BR> Use PSCAddAllHolidays to modify HolidayList and to add there holiday names for the holidays that occur on the specific date (passed in the Adate parameter). Specify list of the countries in the ACountries parameter. If DefaultHolidays is True, holiday names for the locale default country will be added also. PSCAddAllHolidays returns True if any of the holiday names was added.<BR>Holiday names are retrieved from the internal holidays list.<BR>Example:<BR>var<BR>&nbsp; TempHolidays:IPSCStrings;<BR>&nbsp; TempCountries : array of TPSCCountryID;<BR>begin<BR>&nbsp; TempHolidays := PSCCreateStringList(ioOwned);<BR>&nbsp; SetLength(TempCountries, 1);<BR><BR>&nbsp; TempCountries[0] := cPSCCountryArray[29];<BR>&nbsp; &nbsp; If PSCAddAllHolidays (SysUtils.Date, TempCountries, TempHolidays,False) then<BR>&nbsp; &nbsp; &nbsp; ShowMessage(TempHolidays.Text)<BR>&nbsp; &nbsp; else<BR>&nbsp; &nbsp; &nbsp; ShowMessage('No default holidays are on the current date for the United States');<BR>end;<BR> <BR> <font SIZE="2"><B>See also:</B></font><BR> <A href="PSCCountryNameToID.html">PSCCountryNameToID</A><BR> <BR> <HR> <font SIZE="1">Generated by Putersoft.FreeHelp. Copyright © 1999-2002. <A href="http://www.putersoft.com" target="_blank">puterSoft.Com</A></font></font></font> <CET_ADSENSEF> <script type="text/javascript"><!-- google_ad_client = "pub-5291624188982543"; /* 728x90, A>740=> 04.02.08 */ google_ad_slot = "9704471239"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </CET_ADSENSEF> <CET_FOOTER> <table width="100%" border="0"> <tr> <td colspan="2" bgcolor="#0099FF"><div align="right" class="style1"> <div align="center"><font color="#FFFFFF">You are reading help file online using chmlib.com</font></div> </div></td> </tr> </table> <hr align="left" width="650"><BR> If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com </CET_FOOTER> </Body></Html>