how to change default calendar within isbusday()

1 回表示 (過去 30 日間)
Isma
Isma 2016 年 2 月 25 日
回答済み: BhaTTa 2024 年 11 月 24 日
Hi
Is there a way to change the default calendar within isbusday()?
suppose:
k= today()-10:today; isbusday(a) %leads to 15-feb-2016 being a non-business day.
Naturally this is in accordance with US calendar. Suppose I'd like the check to be based on French, German or Italian calendar, is there an efficient way of dealing with it?
best,

回答 (1 件)

BhaTTa
BhaTTa 2024 年 11 月 24 日 3:47
Hey @Isma, please refer to this answer https://www.mathworks.com/matlabcentral/answers/271319 to get holidays and business days from countries other than the United States, and then refer to the example given in the below documentation to set custom business days : https://www.mathworks.com/help/finance/isbusday.html

カテゴリ

Help Center および File ExchangeCalendar についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by