noc.main.models.timepattern

Module Contents

noc.main.models.timepattern.id_lock
class noc.main.models.timepattern.TimePattern

Bases: noc.core.model.base.NOCModel

Time Patterns

class Meta

Bases: object

verbose_name = Time Pattern
verbose_name_plural = Time Patterns
db_table = main_timepattern
app_label = main
name
description
_id_cache
_code_cache
time_pattern

Returns associated Time Pattern object

__str__(self)
classmethod get_by_id(cls, id)
classmethod get_code(cls, id)
match(self, d)

Matches DateTime objects against time pattern