Location:
e32std.h
Link against: euser.lib
TTimeFormatSpec
Supported from 6.0
Holds a list of formatting commands which control how the time
string should be formatted. No date components are included in the string. An
instance of this class should be passed as the second argument to
TTime::FormatL()
. The contents of the time format specification
are set from the system-wide settings.
Example
This class is used as follows:
TTime now;
now.HomeTime();
TBuf<KMaxTimeFormatSpec*2> buffer; // KMaxTimeFormatSpec is defined in e32std.h
now.FormatL(buffer,TTimeFormatSpec());
|
Defined in TTimeFormatSpec
:
Set()
, TTimeFormatSpec()
Inherited from TBuf
:
operator=
Inherited from TDes16
:
Append()
,
AppendFill()
,
AppendFormat()
,
AppendFormatList()
,
AppendJustify()
,
AppendNum()
,
AppendNumFixedWidth()
,
AppendNumFixedWidthUC()
,
AppendNumUC()
,
Capitalize()
,
Collate()
,
Copy()
,
CopyC()
,
CopyCP()
,
CopyF()
,
CopyLC()
,
CopyUC()
,
Delete()
,
Fill()
,
FillZ()
,
Fold()
,
Format()
,
FormatList()
,
Insert()
,
Justify()
,
LowerCase()
,
MaxLength()
,
MaxSize()
,
Num()
,
NumFixedWidth()
,
NumFixedWidthUC()
,
NumUC()
,
PtrZ()
,
Repeat()
,
Replace()
,
SetLength()
,
SetMax()
,
Swap()
,
Trim()
,
TrimAll()
,
TrimLeft()
,
TrimRight()
,
UpperCase()
,
Zero()
,
ZeroTerminate()
,
operator+=()
,
operator[]()
Inherited from TDesC16
:
Alloc()
,
AllocL()
,
AllocLC()
,
Compare()
,
CompareC()
,
CompareF()
,
Find()
,
FindC()
,
FindF()
,
Left()
,
Length()
,
Locate()
,
LocateF()
,
LocateReverse()
,
LocateReverseF()
,
Match()
,
MatchC()
,
MatchF()
,
Mid()
,
Ptr()
,
Right()
,
Size()
,
operator!=()
,
operator<()
,
operator<=()
,
operator==()
,
operator>()
,
operator>=()
TTimeFormatSpec();
The C++ constructor constructs the time format specification; calls
Set()
.
void Set();
Sets the contents of the object from the system-wide settings.