nl.vpro.domain.subtitles.TimeLine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subtitles-domain Show documentation
Show all versions of subtitles-domain Show documentation
Subtitles are related to media, but are implemented completely parallel. Classes to contain, parse, and assemble subtitle objects are here.
package nl.vpro.domain.subtitles;
import lombok.*;
import java.time.Duration;
/**
* @author Michiel Meeuwissen
* @since 5.3
*/
@Getter
@EqualsAndHashCode
@ToString
public class TimeLine {
final Integer sequence;
final Duration start;
final Duration end;
@lombok.Builder
TimeLine(Integer sequence, Duration start, Duration end) {
this.sequence = sequence;
this.start = start;
this.end = end;
}
}