The semantic time intervals for the to the current time and location. Some examples of
time intervals are:
TIME_INTERVAL_MORNING,
TIME_INTERVAL_AFTERNOON,
TIME_INTERVAL_EVENING,
TIME_INTERVAL_NIGHT,
TIME_INTERVAL_WEEKDAY,
TIME_INTERVAL_WEEKEND,
TIME_INTERVAL_HOLIDAY.
| abstract int[] |
getTimeIntervals()
Get the semantic time intervals for the to the current time and location.
|
| abstract boolean |
hasTimeInterval(int desiredTimeInterval)
Returns true if the given semantic time interval is applicable to the current
time and locale
|
Get the semantic time intervals for the to the current time and location.
TIME_INTERVAL_MORNING,
TIME_INTERVAL_AFTERNOON,
TIME_INTERVAL_EVENING,
TIME_INTERVAL_NIGHT,
TIME_INTERVAL_WEEKDAY,
TIME_INTERVAL_WEEKEND,
TIME_INTERVAL_HOLIDAY.Returns true if the given semantic time interval is applicable to the current time and locale
| desiredTimeInterval | is the desired time interval label. |
|---|