Package Gnumed :: Package timelinelib :: Package time :: Module numtime :: Class NumTimeType |
[frames] | no frames]

# Class NumTimeType

source code

                object --+
                         |
    typeinterface.TimeType --+
                             |
                            NumTimeType

Instance Methods
time_string(self, time) | source code
parse_time(self, time_string) | source code
get_navigation_functions(self) | source code
is_date_time_type(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, config) | source code
mult_timedelta(self, delta, num) | source code
get_default_time_period(self) | source code
now(self) | source code
get_time_at_x(self, time_period, x_percent_of_width) Return the time at pixel `x`. | source code
div_timedeltas(self, delta1, delta2) | source code
get_max_zoom_delta(self) | source code
get_min_zoom_delta(self) | source code
get_zero_delta(self) | source code
time_period_has_nonzero_time(self, time_period) | source code
get_name(self) | source code
get_duplicate_functions(self) | source code
zoom_is_ok(self, delta) | source code
half_delta(self, delta) | source code
margin_delta(self, delta) | source code
eventtimes_equals(self, time1, time2) | source code
Inherited from `typeinterface.TimeType`: `adjust_for_bc_years`, `event_date_string`, `event_time_string` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties
Inherited from `object`: `__class__`

Method Details

### time_string(self, time) | source code
Overrides: typeinterface.TimeType.time_string

### parse_time(self, time_string) | source code
Overrides: typeinterface.TimeType.parse_time

### get_navigation_functions(self) | source code
Overrides: typeinterface.TimeType.get_navigation_functions

### is_date_time_type(self) | source code
Overrides: typeinterface.TimeType.is_date_time_type

### format_period(self, time_period) | source code
Returns a unicode string describing the time period. Overrides: typeinterface.TimeType.format_period

### format_delta(self, delta) | source code
Overrides: typeinterface.TimeType.format_delta

### get_min_time(self) | source code
Overrides: typeinterface.TimeType.get_min_time

### get_max_time(self) | source code
Overrides: typeinterface.TimeType.get_max_time

### choose_strip(self, metrics, config) | source code
Overrides: typeinterface.TimeType.choose_strip

### mult_timedelta(self, delta, num) | source code
Overrides: typeinterface.TimeType.mult_timedelta

### get_default_time_period(self) | source code
Overrides: typeinterface.TimeType.get_default_time_period

### now(self) | source code
Overrides: typeinterface.TimeType.now

### get_time_at_x(self, time_period, x_percent_of_width) | source code
Return the time at pixel `x`. Overrides: typeinterface.TimeType.get_time_at_x

### div_timedeltas(self, delta1, delta2) | source code
Overrides: typeinterface.TimeType.div_timedeltas

### get_max_zoom_delta(self) | source code
Overrides: typeinterface.TimeType.get_max_zoom_delta

### get_min_zoom_delta(self) | source code
Overrides: typeinterface.TimeType.get_min_zoom_delta

### get_zero_delta(self) | source code
Overrides: typeinterface.TimeType.get_zero_delta

### time_period_has_nonzero_time(self, time_period) | source code
Overrides: typeinterface.TimeType.time_period_has_nonzero_time

### get_name(self) | source code
Overrides: typeinterface.TimeType.get_name

### get_duplicate_functions(self) | source code
Overrides: typeinterface.TimeType.get_duplicate_functions

### half_delta(self, delta) | source code
Overrides: typeinterface.TimeType.half_delta

### margin_delta(self, delta) | source code
Overrides: typeinterface.TimeType.margin_delta

### eventtimes_equals(self, time1, time2) | source code
Overrides: typeinterface.TimeType.eventtimes_equals