implemented inTimespan() and containing()