moved TimeComparator to enum inside TimedEvent
updated docs