nl.vpro.domain.api.media.SinceToTimeStampService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-domain Show documentation
Show all versions of api-domain Show documentation
Contains the objects used by the Frontend API, like forms and result objects
package nl.vpro.domain.api.media;
import java.time.Instant;
import java.time.LocalDate;
import nl.vpro.domain.media.Schedule;
/**
* @author Michiel Meeuwissen
* @since 5.0
*/
public interface SinceToTimeStampService {
Instant DIVIDING_SINCE = LocalDate.of(2000, 1, 1).atStartOfDay(Schedule.ZONE_ID).toInstant();
Instant getInstance(Long since);
Long getSince(Instant since);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy