Table of Contents

Class: TimeField qm/fields.py

A field containing a date and time.

The data and time is stored as seconds since the start of the UNIX epoch, UTC (the semantics of the standard time function), with one-second precision. User representations of TimeField fields show one-minue precision.

Base Classes   
IntegerField
Methods   
FormatValueAsHtml
FormatValueAsText
GetDefaultValue
GetHelp
ParseTextValue
__init__
  FormatValueAsHtml 
FormatValueAsHtml (
        self,
        server,
        value,
        style,
        name=None,
        )

Exceptions   
ValueError, style
  FormatValueAsText 
FormatValueAsText (
        self,
        value,
        columns=72,
        )

  GetDefaultValue 
GetDefaultValue ( self )

  GetHelp 
GetHelp ( self )

  ParseTextValue 
ParseTextValue ( self,  value )

  __init__ 
__init__ (
        self,
        name,
        **properties,
        )

Create a time field.

The field is given a default value for this field is None, which corresponds to the current time when the field value is first created.


Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1