I usually use zoo for my time series in R. However, sometimes my algorithms
are very slow. Maybe my code is inefficient, but I need to add several for
and ifs, which I believe slows down the whole calculation.

I have been thinking that if I could use the C++ STL for intersections (and
other operations), in addition to use the fast for and if in c++, the
calculation could be much faster. My problem is that I do not know any time
and date class in C++ with the same conventions as in zoo and POSIX. I have
been googling, and I have found Boost.Date_Time, which apparently does quite
a lot of what I want.

Is zoo using some time and date class from C++? If yes, which one? if not,
which one could I use?

Thank you.

	[[alternative HTML version deleted]]

