#include <httpform.h>
Inheritance diagram for PHTTPDateField:
Public Member Functions | |
PHTTPDateField (const char *name, const PTime &initVal=PTime(0), PTime::TimeFormat fmt=PTime::ShortDate) | |
virtual PHTTPField * | NewField () const |
Create a new field of the same class as the current field. | |
virtual void | SetValue (const PString &newValue) |
Set the value of the field. | |
virtual PBoolean | Validated (const PString &newValue, PStringStream &msg) const |
Validate the new field value before SetValue() is called. | |
Protected Attributes | |
PTime::TimeFormat | m_format |
PHTTPDateField::PHTTPDateField | ( | const char * | name, | |
const PTime & | initVal = PTime(0) , |
|||
PTime::TimeFormat | fmt = PTime::ShortDate | |||
) |
virtual PHTTPField* PHTTPDateField::NewField | ( | ) | const [virtual] |
Create a new field of the same class as the current field.
Reimplemented from PHTTPStringField.
virtual void PHTTPDateField::SetValue | ( | const PString & | newValue | ) | [virtual] |
virtual PBoolean PHTTPDateField::Validated | ( | const PString & | newValue, | |
PStringStream & | msg | |||
) | const [virtual] |
Validate the new field value before SetValue()
is called.
Reimplemented from PHTTPField.
PTime::TimeFormat PHTTPDateField::m_format [protected] |