public static Event getDefaultEvent() {
   Event event = new Event();
   event.id = 555L;
   event.slug = BaseX.encode(event.id, new Date());
   return event;
 }
 public static String toSlug(Event event) {
   return BaseX.encode(event.id, event.dateCreated);
 }