Note: You are looking at a static snapshot of documentation related to Robot Framework automations. The most recent documentation is at https://robocorp.com/docs

RPA.Calendar

Library for handling different operations for date and time handling especially in business days and holiday contexts.

Utilizing pendulum and holidays packages.

Library is by default using days from Monday to Friday as business days, but that can be changed by giving list of weekdays to Set Business Days keyword. A weekday is given as a integer, the 0 for Sunday and 6 for Saturday.

Common country holidays are respected when getting next and previous business days, but custom holidays can be added into consideration using keyword Add Custom Holidays keyword.

Some dates containing for example month names are in English (en), but the locale of the library can be changed with keyword Set Locale or for specific keyword if that has a locale parameter.