|
|
|
class TShortDateFormatSpec : public TBuf< KMaxShortDateFormatSpec >;
Contains a format list that defines the short 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 short date format would be something like 14/1/2000.
This class is used as follows:
TTime now;
now.HomeTime();
TBuf<KMaxShortDateFormatSpec*2> buffer;
now.FormatL(buffer,TShortDateFormatSpec());
TBuf< KMaxShortDateFormatSpec > - No description.
TShortDateFormatSpec -
Contains a format list that defines the short date format.
Defined in TShortDateFormatSpec:
Set()Sets the contents of the short date format specification from the system-wide se...TShortDateFormatSpec()Default constructor.TTime::FormatL(TDes &,const TDesC &)constPuts this TTime into a descriptor and formats it according to the format string ...IMPORT_C TShortDateFormatSpec();
Default constructor.
Performs construction by calling TShortDateFormatSpec::Set().
TShortDateFormatSpec::Set()Sets the contents of the short date format specification from the system-wide se...IMPORT_C void Set();
Sets the contents of the short date format specification from the system-wide settings.