Added time-based filter example

Includes C, C++, and Java examples.