Back to project page Qachee.
The source code is released under:
Apache License
If you think the Android project Qachee listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.qachee; /*from w w w .j ava2 s . co m*/ import android.support.annotation.IntDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * Class that is used to set the Expiration Time policy in Qachee. */ public final class ExpirationTime { @Retention(RetentionPolicy.SOURCE) @IntDef({TEN_SECONDS, THIRTY_SECONDS, ONE_MINUTE, TWO_MINUTES, TEN_MINUTES, TWENTY_MINUTES}) public @interface ExpirationPolicy { } public static final long TEN_SECONDS = 10000; public static final long THIRTY_SECONDS = 30000; public static final long ONE_MINUTE = 60000; public static final long TWO_MINUTES = 120000; public static final long TEN_MINUTES = 600000; public static final long TWENTY_MINUTES = 1200000; }