THolidays 1.0.0
By NUM'X
Commercial 22 May 2023In category
Components > Date and Time > Date and Time
Description
The "THolidays" component allows you to have the list of holidays, to know if a date is a holiday, if the day’s date is. If there is a holiday in a range of dates. Obtain a list of holidays for a given year or range of dates. To work, THolidays relies on a library (libholidays.so under Linux, holidays.dll under Windows) provided. It requires using ISO 3166-1 alpha 3 code to identify the country through its State property. Use of the library can be static or dynamic. The interest of such a component is to be able to identify a holiday said unemployed, in a calendar. Or in a range of dates. This can be used for planning, scheduling, tourism application management… The public interface of the "THolidays" component is as follows: // Methods function GetHolidays(const aYear: word): TDates; overload; function GetHolidays(const aStartDate, aEndDate: TDate): TDates; overload; function IsAHoliday(const aHolidayDate: TDate): boolean; function ThereIsHolidays(const aStartDate, aEndDate: TDate): boolean; // Properties property HolidaysLibPath: TFileName; property State: TStateCode; property HolidaysCount: integer; property NowIsHoliday: boolean;Informations
- Status: Demo only
- Source: C
- Price: $110
- Size: 35 159 795kB
Platforms:
- C++ Builder 10
- CBuilder 10.1 Berlin
- CBuilder 10.2 Tokyo
- CBuilder 10.3 Rio
- CBuilder 10.4 Sydney
- CBuilder 11 Alex.
- CBuilder 11.1-11.3
- Delphi 10
- Delphi 10.1 Berlin
- Delphi 10.2 Tokyo
- Delphi 10.3 Rio
- Delphi 10.4 Sydney
- Delphi 11 Alexandria
- Delphi 11.1-11.3
Downloads