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

com.tenduke.events.api.model.data.ValidityFields Maven / Gradle / Ivy

Go to download

Objects and interfaces describing data communicated in the 10Duke Event Data system API

There is a newer version: 1.9.0
Show newest version
package com.tenduke.events.api.model.data;

/**
 * Event data fields for resource validity.
 * @author jarkko
 */
public interface ValidityFields {

    /**
     * Gets resource validity start.
     * @return Validity start in milliseconds since the Epoch (1970-01-01T00:00:00Z),
     *      or {@code null} if validity not started (yet).
     */
    Long getValidFrom();

    /**
     * Gets resource expiration.
     * @return Expiration in milliseconds since the Epoch (1970-01-01T00:00:00Z),
     *      or {@code null} if valid indefinitely.
     */
    Long getValidUntil();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy