public void setEventCreatedOn ( String eventCreatedOn ) { Long milliseconds = TimeUnit . SECONDS . toMillis ( Long . parseLong ( eventCreatedOn ) ) ; this . eventCreatedOn = new Date ( milliseconds ) ; }
Gerrit server - based time stamp when the event was created by Gerrit Server . ONLY USE FOR UNIT TESTS!