
com.afrigis.services.ext.SaasTimeAware Maven / Gradle / Ivy
package com.afrigis.services.ext;
/**
*
* Interface for implementors aware of the "saas time" feature.
*
*
* @author hendrikc
*
*/
public interface SaasTimeAware {
/**
*
* Tells implementors to use saas time or not.
*
*
* SaaS time SHOULD be used by all.
*
*
* @param onOff
* true to use it, false to ignore it.
*/
void setUseSaasTime(boolean onOff);
/**
* Sets the current time offset.
*
* @param secs
* offset in seconds.
*/
void setSaasOffsetInSeconds(int secs);
/**
* Retrieves the current offset (in seconds).
*
* @return the offset in seconds.
*/
int getSaasOffsetInSeconds();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy