com.tenduke.events.api.model.data.ValidityFields Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of events-api Show documentation
Show all versions of events-api Show documentation
Objects and interfaces describing data communicated in the 10Duke Event Data system API
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