datetime: add comparison operators