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