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

nl.vpro.domain.api.media.SinceToTimeStampService Maven / Gradle / Ivy

Go to download

Contains the objects used by the Frontend API, like forms and result objects

There is a newer version: 8.3.3
Show newest version
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