def __init__(self, storage_format=None, regexp=None, **kw):
    super(_DateTimeMixin, self).__init__(**kw)
    if (regexp is not None):
        self._reg = re.compile(regexp)
    if (storage_format is not None):
        self._storage_format = storage_format
def __init__(self, storage_format=None, regexp=None, **kw):
    super(_DateTimeMixin, self).__init__(**kw)
    if (regexp is not None):
        self._reg = re.compile(regexp)
    if (storage_format is not None):
        self._storage_format = storage_format