noc.lib.app.interfaces

Module Contents

class noc.lib.app.interfaces.DateTimeParameter

Bases: noc.sa.interfaces.base.StringParameter

formats = ['%Y-%m-%dT%H:%M:%S', '%Y-%m-%dT%H:%M:%S.%f', '%Y-%m-%d']
clean(self, value)
class noc.lib.app.interfaces.DateParameter

Bases: noc.lib.app.interfaces.DateTimeParameter

clean(self, value)