public abstract class TimeRestrictionModel
extends java.lang.Object
TimeRestrictionModel abstract class identifies the properties related to
badge enablement time restrictions.| Modifier and Type | Class and Description |
|---|---|
static class |
TimeRestrictionModel.Item
The
TimeRestrictionModel.Item abstract class identifies the properties related to badge enablement time
restrictions, such as when they start and end. |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<TimeRestrictionModel.Item> |
availableItemList()
Returns a
List of TimeRestrictionModel.Item objects. |
abstract java.lang.String |
availableSessionDisplayValue()
Returns a String of all of the time intervals during which a badge is not subject to a badge
enablement time restriction.
|
abstract float |
degreeOfNowInSeconds()
Returns a float of the current time in seconds as a function of degrees of a circle.
|
abstract boolean |
isDeniedAllDay()
Returns a boolean that represents whether or not the badge is restricted for the entire day.
|
abstract long |
nowInSeconds()
Returns a long of the current time in seconds.
|
abstract double |
radianOfNowInSeconds()
Returns a float of the current time in seconds as a function of radians of a circle.
|
@Nullable public abstract java.util.List<TimeRestrictionModel.Item> availableItemList()
List of TimeRestrictionModel.Item objects.public abstract boolean isDeniedAllDay()
true if the badge is restricted for the entire day;
false otherwise.public abstract long nowInSeconds()
@Nullable public abstract java.lang.String availableSessionDisplayValue()
public abstract float degreeOfNowInSeconds()
public abstract double radianOfNowInSeconds()