Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: 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(). 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:
Set(), TTimeFormatSpec()

See also:


Construction and destruction


TTimeFormatSpec()

IMPORT_C TTimeFormatSpec();

Description

Default constructor.

Performs construction by calling Set().

[Top]


Member functions


Set()

IMPORT_C void Set();

Description

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