|
||
class TTimeFormatSpec : public TBuf< KMaxTimeFormatSpec >;
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());
TBuf< KMaxTimeFormatSpec >
- No description.
TTimeFormatSpec
-
Contains a format list that defines the time string format.
Defined in TTimeFormatSpec
:
Set()
Sets the contents of the time string format specification from the system-wide s...TTimeFormatSpec()
Default constructor.TTime::FormatL(TDes &,const TDesC &)const
Puts this TTime into a descriptor and formats it according to the format string ...IMPORT_C TTimeFormatSpec();
Default constructor.
Performs construction by calling TTimeFormatSpec::Set()
.
TTimeFormatSpec::Set()
Sets the contents of the time string format specification from the system-wide s...IMPORT_C void Set();
Sets the contents of the time string format specification from the system-wide settings.