Package phones :: Module com_samsungscha950 :: Class CalendarEntry
[hide private]
[frames] | no frames]

Class CalendarEntry

source code

object --+
         |
        CalendarEntry
Known Subclasses:

Transient class to handle calendar data being sent to, retrieved from the phone.

Instance Methods [hide private]
 
__init__(self, phone, value, fundamentals)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
writetobuffer(self, buf, logtitle=None) source code
 
_build_duration(self, entry) source code
 
_build_repeat(self, entry) source code
 
_build_alarm(self, entry) source code
 
_build_alert(self, entry) source code
 
_build_tz(self) source code
 
_build(self, entry) source code
 
_extract_end(self) source code
 
_extract_alarm(self) source code
 
_extract_repeat(self) source code
 
getvalue(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  REP_NONE = 0
  REP_ONCE = 0
  REP_DAILY = 2
  REP_WEEKLY = 5
  REP_MONTHLY = 6
  REP_YEARLY = 7
  ALARM_ONTIME = 0
  ALARM_5M = 1
  ALARM_10M = 2
  ALARM_15M = 3
  ALARM_30M = 4
  ALARM_1HR = 5
  ALARM_3HR = 6
  ALARM_5HR = 7
  ALARM_1D = 8
  ALERT_TONE = 0
  ALERT_VIBRATE = 1
  ALERT_LIGHT = 2
  TZ_EST = 0
  TZ_EDT = 1
  TZ_CST = 2
  TZ_CDT = 3
  TZ_MST = 4
  TZ_MDT = 5
  TZ_PST = 6
  TZ_PDT = 7
  TZ_AKST = 8
  TZ_AKDT = 9
  TZ_HAST = 10
  TZ_HADT = 11
  TZ_GMT = 12
  _build_repeat_dict = {'daily': 2, 'monthly': 6, 'weekly': 5, '...
  _build_alarm_dict = {0: 0, 5: 1, 10: 2, 15: 3, 30: 4, 60: 5, 1...
  _build_tz_dict = {0: 12, 18000: 0, 21600: 2, 25200: 4, 28800: ...
  _tz_code = None
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, phone, value, fundamentals)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

_build_repeat_dict

Value:
{'daily': 2, 'monthly': 6, 'weekly': 5, 'yearly': 7}

_build_alarm_dict

Value:
{0: 0, 5: 1, 10: 2, 15: 3, 30: 4, 60: 5, 180: 6, 300: 7, 1440: 8}

_build_tz_dict

Value:
{0: 12, 18000: 0, 21600: 2, 25200: 4, 28800: 6, 32400: 8, 36000: 10}