Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class TDateSuffix

TDateSuffix

Support

Supported from 5.0

Description

Gets a copy of the current locale's date suffix text for a specific day in the month. The text is the set of characters which can be appended to dates of the month (e.g. in English, st for 1st, nd for 2nd etc).

After construction or after a call to Set(), the copy of the suffix text can be accessed and manipulated using the standard descriptor member functions provided by the base class.

Derivation

TBufBuild-independent modifiable buffer descriptor
TDateSuffixGets a copy of the current locale's date suffix text for a specific day in the month
TDes16Modifiable 16 bit descriptor; abstract class
TDesC16Abstract base class for 16 bit descriptors

Defined in TDateSuffix:
Set(), TDateSuffix()

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>=()


Construction


TDateSuffix()

TDateSuffix();

Description

Constructs this object and initialises it with the current locale's date suffix text for the first day of the month.


TDateSuffix()

TDateSuffix(TInt aDateSuffix);

Description

Constructs this object and initialises it with the current locale's date suffix text for the specified day of the month.

Parameters

TInt aDateSuffix

A value identifying the day of the month. The value can range from 0 to 30 so that the first day of the month is identified by 0, the second day by 1 etc. Any value outside the range 0 to 30 causes the constructor to raise a USER 69 panic.

[Top]


Explicit retrieval


Set()

void Set(TInt aDateSuffix);

Description

Re-retrieves the current locale's date suffix text for the specified day of the month.

Parameters

TInt aDateSuffix

A value identifying the day of the month. The value can range from 0 to 30 so that the first day of the month is identified by 0, the second day by 1 etc. Any value outside the range 0 to 30 causes the constructor to raise a USER 69 panic.