Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32std.h>
Link against: euser.lib

Class TTimeFormatSpec

class TTimeFormatSpec : public TBuf< KMaxTimeFormatSpec >;

Description

Contains a format list that defines the time string format.

An instance of this class should be passed as the second argument to TTime::FormatL(TDes &,const TDesC &)const. The string does not include any time components. The content of the time format specification is taken from the system-wide settings.

This class is used as follows:

TTime now;
now.HomeTime();
TBuf<KMaxTimeFormatSpec*2> buffer;
now.FormatL(buffer,TTimeFormatSpec());

Derivation

Members

Defined in TTimeFormatSpec:

See also:


Construction and destruction


TTimeFormatSpec()

IMPORT_C TTimeFormatSpec();

Description

Default constructor.

Performs construction by calling TTimeFormatSpec::Set().

See also:

[Top]


Member functions


Set()

IMPORT_C void Set();

Description

Sets the contents of the time string format specification from the system-wide settings.