Package concurrent_tree_crawler :: Package common :: Module activity_schedule :: Class ActivityInfo
[hide private]
[frames] | no frames]

Class ActivityInfo

source code

Instance Methods [hide private]
 
__init__(self, is_in_activity_period, time_to_mode_change) source code
Instance Variables [hide private]
  is_in_activity_period
True iff we are in activity period
  future_mode_change
Time (date.datetime) of the closest future mode change (i.e.
Instance Variable Details [hide private]

future_mode_change

Time (date.datetime) of the closest future mode change (i.e. change from the activity to inactivity period or from inactivity to activity period). It can have None value when the mode will not change in the future.