Gnumed.timelinelib.time.wxtime.WxTimeType

Package Gnumed :: Package timelinelib :: Package time :: Module wxtime :: Class WxTimeType |
[frames] | no frames]

# Class WxTimeType

source code

                object --+
                         |
    typeinterface.TimeType --+
                             |
                            WxTimeType

Instance Methods
__eq__(self, other) | source code
__ne__(self, other) | source code
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) Return a tuple (major_strip, minor_strip) for current time period and window size. | source code
mult_timedelta(self, delta, num) Return a new timedelta that is `num` times larger than `delta`. | 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) Return how many times delta2 fit in delta1. | 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
event_date_string(self, time) | source code
event_time_string(self, time) | source code
eventtimes_equals(self, time1, time2) | source code
adjust_for_bc_years(self, time) | source code
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
Return a tuple (major_strip, minor_strip) for current time period and window size. Overrides: typeinterface.TimeType.choose_strip

### mult_timedelta(self, delta, num) | source code
Return a new timedelta that is `num` times larger than `delta`. 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
Return how many times delta2 fit in delta1. 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

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

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

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

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