#include <e32std.h>
class TDateSuffix : public TBuf< KMaxSuffix > |
Public Member Functions | |
---|---|
TDateSuffix() | |
TDateSuffix(TInt) | |
IMPORT_C void | Set(TInt) |
Inherited Attributes | |
---|---|
TDes16::__DECLARE_TEST | |
TDes16::iMaxLength |
Inherited Enumerations | |
---|---|
TDesC16:TPrefix |
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.
IMPORT_C | TDateSuffix | ( | ) |
Default constructor.
It constructs this object and initialises it with the current locale's date suffix text for the first day of the month.
IMPORT_C | TDateSuffix | ( | TInt | aDateSuffix | ) |
Constructs this object and initialises it with the current locale's date suffix text for the specified day of the month.
Parameters | |
---|---|
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. |
IMPORT_C void | Set | ( | TInt | aDateSuffix | ) |
Re-retrieves the current locale's date suffix text for the specified day of the month.
Parameters | |
---|---|
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. |