#include <e32std.h>
class TShortDateFormatSpec : public TBuf< KMaxShortDateFormatSpec > |
Public Member Functions | |
---|---|
TShortDateFormatSpec() | |
IMPORT_C void | Set() |
Inherited Attributes | |
---|---|
TDes16::__DECLARE_TEST | |
TDes16::iMaxLength |
Inherited Enumerations | |
---|---|
TDesC16:TPrefix |
Contains a format list that defines the short date format.
An instance of this class should be passed as the second argument to TTime::FormatL(). The string does not include any time components. The content of the long date format specification is taken from the system-wide settings.
For example, in the English locale, the short date format would be something like 14/1/2000.
This class is used as follows:
TTime now; now.HomeTime(); TBuf<KMaxShortDateFormatSpec*2> buffer; now.FormatL(buffer,TShortDateFormatSpec());
See also: KMaxShortDateFormatSpec TTime::FormatL