All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.domain.subtitles.TimeLine Maven / Gradle / Ivy

Go to download

Subtitles are related to media, but are implemented completely parallel. Classes to contain, parse, and assemble subtitle objects are here.

The newest version!
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy