org.springframework.social.twitter.api
Class AccountSettings.SleepTime

java.lang.Object
  extended by 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.


Constructor Summary
AccountSettings.SleepTime()
           
 
Method Summary
 Integer getEndTime()
           
 Integer getStartTime()
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountSettings.SleepTime

public AccountSettings.SleepTime()
Method Detail

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.)