public static <T> Builder<T> builder(TimelineEvent<T> event) {
        Builder<T> builder = builder();

        builder.id(event.id);
        builder.data(event.data);
        builder.startDate(event.startDate);
        builder.endDate(event.endDate);
        builder.editable(event.editable);
        builder.editableTime(event.editableTime);
        builder.editableGroup(event.editableGroup);
        builder.editableRemove(event.editableRemove);
        builder.group(event.group);
        builder.subgroup(event.subgroup);
        builder.title(event.title);
        builder.styleClass(event.styleClass);
        builder.type(event.type);

        return builder;
    }
The type of the item. Can be 'box' (default), 'point', 'range', or 'background'.
<p>
Types 'box' and 'point' need a start date, the types 'range' and 'background' needs both a start and end date.
primefaces/src/main/java/org/primefaces/model/timeline/TimelineEvent.java