Cortex iOS
 All Classes Functions Properties
JetlagCoach Class Reference
Inheritance diagram for JetlagCoach:
Coach

Instance Methods

(void) - manualInitializationWithSleepHour:andAwakeHour:
 
(void) - setTimeZone:date:
 
(void) - resetState
 
- Instance Methods inherited from Coach
(id) - init
 
(NSArray *) - getCurrentTasks
 
(NSArray *) - getFutureTasksFrom:to:
 
(NSArray *) - getPastTasksFrom:to:
 
(NSArray *) - getAllTasksFrom:to:
 
(void) - pause
 
(void) - resume
 
(Task *) - setValue:forTask:
 

Additional Inherited Members

- Class Methods inherited from Coach
(NSString *) + stringFromCoachType:
 
(CoachType) + coachTypeFromString:
 
- Properties inherited from Coach
CoachType type
 Type to identifies the coach.
 

Method Documentation

- (void) manualInitializationWithSleepHour: (double)  sleepHour
andAwakeHour: (double)  awakeHour 

Initialize the jetlagCoach manually

Parameters
sleepHourThe time of day the user usually goes to sleep (e.g. 22.75 for a quarter to eleven p.m.)
awakeHourThe time of day the to awake (e.g. 7.25 for a quarter past seven)
- (void) resetState

Reset the state.

- (void) setTimeZone: (NSTimeZone*)  timeZone
date: (NSDate*)  date 

Set a new Time Zone

Parameters
timeZoneIdThe timezone
dateThe epoch time corresponding to this time zone change.

The documentation for this class was generated from the following files: