Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class TDateSuffix

class TDateSuffix : public TBuf< KMaxSuffix >;

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

Members

Defined in TDateSuffix:
Set(), TDateSuffix(), TDateSuffix()


Construction and destruction


TDateSuffix()

IMPORT_C TDateSuffix();

Description

Default constructor.

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


TDateSuffix()

IMPORT_C 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.

Panic codes

USER

69, if aDateSuffix is outside the range 0 to 30.

[Top]


Member functions


Set()

IMPORT_C 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.

Panic codes

USER

69, if aDateSuffix is outside the range 0 to 30.