org.springframework.social.twitter.api
Class AccountSettings.SleepTime
java.lang.Object
org.springframework.social.twitter.api.AccountSettings.SleepTime
- Enclosing class:
- AccountSettings
public static class AccountSettings.SleepTime
- extends Object
The account's mobile update sleep time settings.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountSettings.SleepTime
public AccountSettings.SleepTime()
isEnabled
public boolean isEnabled()
- Returns:
- true if a sleep time for mobile updates is enabled; false if not.
getStartTime
public Integer getStartTime()
- Returns:
- The start time in hours since midnight. (Where 0=midnight, 23=11pm.)
getEndTime
public Integer getEndTime()
- Returns:
- The end time in hours since midnight. (Where 0=midnight, 23=11pm.)