That's retrieving entries from my local store. It'd be pretty easy to let it also index based on date, and writing a full-text index wouldn't be so bad.
God, C# is a terrible language. I'm glad I don't have to use it to make a living or anything.
More when I'm a bit more sober. Also when I'm sober: read this, 'cause I have no clue what a monad is.