Changed Exception type thrown by parseTimestamp() to InvalidArgumentException