web2ldap  1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
  Fossies Dox: web2ldap-1.7.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

web2ldap.app.schema.syntaxes.DateOfBirth Class Reference
Inheritance diagram for web2ldap.app.schema.syntaxes.DateOfBirth:
Collaboration diagram for web2ldap.app.schema.syntaxes.DateOfBirth:

Public Member Functions

str display (self, vidx, links)
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.Date
bytes sanitize (self, bytes attr_value)
str display (self, vidx, links)
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
def __init__ (self, app, Optional[str] dn, SubSchema schema, Optional[str] attrType, Optional[bytes] attr_value, entry=None)
def dn (self)
def av_u (self)
bytes sanitize (self, bytes attr_value)
List[bytes] transmute (self, List[bytes] attr_values)
def validate (self, bytes attr_value)
str value_button (self, command, row, mode, link_text=None)
str form_value (self)
def input_fields (self)
web_forms.Field input_field (self)
str display (self, vidx, links)

Static Public Attributes

- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.ISO8601Date
 pattern = re.compile('^[0-9]{4}-[0-1][0-9]-[0-3][0-9]$')
string storage_format = '%Y-%m-%d'
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.Date
string storage_format = '%Y-%m-%d'
tuple acceptable_formats
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.IA5String
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DirectoryString
string html_tmpl = '{av}'
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax

Private Member Functions

bool _validate (self, bytes attr_value)

Static Private Member Functions

def _age (birth_dt)

Detailed Description

Plugin class for date of birth syntax YYYY-MM-DD (see ISO 8601).

Displays the age based at current time.

Definition at line 1672 of file syntaxes.py.

Member Function Documentation

◆ _age()

def web2ldap.app.schema.syntaxes.DateOfBirth._age (   birth_dt)

◆ _validate()

◆ display()

Member Data Documentation

◆ str


Definition at line 1678 of file syntaxes.py.

The documentation for this class was generated from the following file: