Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class TLongDateFormatSpec

class TLongDateFormatSpec : public TBuf< KMaxLongDateFormatSpec >;

Description

Contains a format list that defines the long 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 long date format would be something like 14th January 2000.

This class is used as follows:

TTime now;
now.HomeTime();
TBuf<KMaxLongDateFormatSpec*2> buffer;
now.FormatL(buffer,TLongDateFormatSpec());

Derivation

Members

Defined in TLongDateFormatSpec:
Set(), TLongDateFormatSpec()

See also:


Construction and destruction


TLongDateFormatSpec()

IMPORT_C TLongDateFormatSpec();

Description

Default constructor.

Performs construction by calling Set().

[Top]


Member functions


Set()

IMPORT_C void Set();

Description

Sets the contents of the long date format specification from the system-wide settings.