fbusdate automatically includes holidays?
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
>> tempdate = fbusdate(2012, 01); datestr(tempdate)
ans =
03-Jan-2012
and similarly
>> tempdate = fbusdate(2010, 01, []); datestr(tempdate)
ans =
04-Jan-2010
which suggests the first day of the year is being counted as a holiday. I was under the impression you had to specify holidays using the 'Holiday' parameter? Is there some default list of holidays which are accounted for and then other holidays which need to be manually accounted for?
0 comentarios
Respuesta aceptada
Walter Roberson
el 9 de Ag. de 2012
The documentation says that the default holidays are supplied by the holidays() function; see http://www.mathworks.com/help/finance/holidays.html
Más respuestas (0)
Ver también
Categorías
Más información sobre Holidays / Seasons en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!