Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TDateSuffix Class Reference

Gets a copy of the current locale's date suffix text for a specific day in the month. More...

#include <e32std.h>

Inheritance diagram for TDateSuffix:
TBuf< KMaxSuffix >

Public Member Functions

IMPORT_C TDateSuffix ()
 Default constructor.
 
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.
 
IMPORT_C void Set (TInt aDateSuffix)
 Re-retrieves the current locale's date suffix text for the specified day of the month.
 
- Public Member Functions inherited from TBuf< KMaxSuffix >
 TBuf ()
 Creates a build-independent modifiable buffer descriptor which contains no data.
 
 TBuf (TInt aLength)
 Constructs an empty build independent modifiable buffer descriptor and sets its length to the specified value.
 
 TBuf (const TText *aString)
 Constructs the build-independent modifiable buffer descriptor from a zero terminated string.
 
 TBuf (const TDesC &aDes)
 Constructs the build-independent modifiable buffer descriptor from any existing build-independent descriptor.
 
TBuf< S > & operator= (const TText *aString)
 
TBuf< S > & operator= (const TDesC &aDes)
 Copies data into this descriptor replacing any existing data.
 
TBuf< S > & operator= (const TBuf< S > &aBuf)
 

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

API status
Published to all clients. Released API.

Definition at line 2119 of file e32std.h.

Constructor & Destructor Documentation

◆ TDateSuffix() [1/2]

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

(generated from Symbian Developer Library)

◆ TDateSuffix() [2/2]

IMPORT_C TDateSuffix::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
aDateSuffixA 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 condition: USER 69, if aDateSuffix is outside the range 0 to 30.

(generated from Symbian Developer Library)

Member Function Documentation

◆ Set()

IMPORT_C void TDateSuffix::Set ( TInt  aDateSuffix)

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

Parameters
aDateSuffixA 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 condition: USER 69, if aDateSuffix is outside the range 0 to 30.

(generated from Symbian Developer Library)


The documentation for this class was generated from the following files: