|
From: Luigi B. <lui...@gm...> - 2007-12-05 17:11:14
|
On Tue, 2007-12-04 at 22:57 -0200, Piter Dias wrote: > I was checking the new Bovespa calendar and realized that the following piece > of code > > // Black Consciousness Day > || (d == 20 && m == November && y >= 2004) > > should be changed to > > // Black Consciousness Day > || (d == 20 && m == November && y >= 2007) Ok, I'll fix it. > There is a extra one but need to think the better way to do. The last > business day of the year is not a Bovespa business day. That is an exchange > rule. > I realize that when I had a similar problem where I work. This would probably translate to "if it's December 31st, or Friday December 30th, or Friday December 29th". Does it sound correct? Luigi -- When I was a boy of fourteen, my father was so ignorant I could hardly stand to have the old man around. But when I got to be twenty-one, I was astonished at how much the old man had learned in seven years. -- Mark Twain |