Package Gnumed :: Package timelinelib :: Package calendar :: Package pharaonic :: Module timetype :: Class PharaonicTimeType
[frames] | no frames]

Class PharaonicTimeType

source code

                      object --+        
                               |        
               timetype.TimeType --+    
                                   |    
gregorian.timetype.GregorianTimeType --+
                                       |
                                      PharaonicTimeType

Instance Methods
 
__eq__(self, other) source code
 
time_string(self, time) source code
 
parse_time(self, time_string) source code
 
get_navigation_functions(self) source code
 
format_period(self, time_period)
Returns a unicode string describing the time period.
source code
 
format_delta(self, delta) source code
 
get_min_time(self) source code
 
get_max_time(self) source code
 
choose_strip(self, metrics, appearance)
Return a tuple (major_strip, minor_strip) for current time period and window size.
source code
 
get_default_time_period(self) source code
 
supports_saved_now(self) source code
 
set_saved_now(self, time) source code
 
now(self) source code
 
get_min_zoom_delta(self) source code
 
get_name(self) source code
 
get_duplicate_functions(self) source code
 
is_special_day(self, time) source code
 
is_weekend_day(self, time) source code
 
get_day_of_week(self, time) source code
 
create_time_picker(self, parent, *args, **kwargs) source code
 
create_period_picker(self, parent, *args, **kwargs) source code

Inherited from gregorian.timetype.GregorianTimeType: __ne__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__eq__(self, other)
(Equality operator)

source code 
Overrides: gregorian.timetype.GregorianTimeType.__eq__

time_string(self, time)

source code 
Overrides: timetype.TimeType.time_string

parse_time(self, time_string)

source code 
Overrides: timetype.TimeType.parse_time

get_navigation_functions(self)

source code 
Overrides: timetype.TimeType.get_navigation_functions

format_period(self, time_period)

source code 

Returns a unicode string describing the time period.

Overrides: timetype.TimeType.format_period

format_delta(self, delta)

source code 
Overrides: timetype.TimeType.format_delta

get_min_time(self)

source code 
Overrides: timetype.TimeType.get_min_time

get_max_time(self)

source code 
Overrides: timetype.TimeType.get_max_time

choose_strip(self, metrics, appearance)

source code 

Return a tuple (major_strip, minor_strip) for current time period and window size.

Overrides: timetype.TimeType.choose_strip

get_default_time_period(self)

source code 
Overrides: timetype.TimeType.get_default_time_period

supports_saved_now(self)

source code 
Overrides: timetype.TimeType.supports_saved_now

set_saved_now(self, time)

source code 
Overrides: timetype.TimeType.set_saved_now

now(self)

source code 
Overrides: timetype.TimeType.now

get_min_zoom_delta(self)

source code 
Overrides: timetype.TimeType.get_min_zoom_delta

get_name(self)

source code 
Overrides: timetype.TimeType.get_name

get_duplicate_functions(self)

source code 
Overrides: timetype.TimeType.get_duplicate_functions

is_special_day(self, time)

source code 
Overrides: timetype.TimeType.is_special_day

is_weekend_day(self, time)

source code 
Overrides: timetype.TimeType.is_weekend_day

get_day_of_week(self, time)

source code 
Overrides: gregorian.timetype.GregorianTimeType.get_day_of_week

create_time_picker(self, parent, *args, **kwargs)

source code 
Overrides: gregorian.timetype.GregorianTimeType.create_time_picker

create_period_picker(self, parent, *args, **kwargs)

source code 
Overrides: gregorian.timetype.GregorianTimeType.create_period_picker